edu.washington.cs.sounddetector.server.api.methodresult
Class UntrainResult

java.lang.Object
  extended by edu.washington.cs.sounddetector.server.api.MethodResult<Untrain>
      extended by edu.washington.cs.sounddetector.server.api.methodresult.UntrainResult

public class UntrainResult
extends MethodResult<Untrain>


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.washington.cs.sounddetector.server.api.MethodResult
MethodResult.FailureReason
 
Method Summary
static UntrainResult failureCantBuildClassifier(String message)
           
 String getMessage()
           
static UntrainResult success()
           
 
Methods inherited from class edu.washington.cs.sounddetector.server.api.MethodResult
getReason, isSuccessful, setReason, setSuccessful, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMessage

public String getMessage()
Returns:
if MethodResult.isSuccessful() == true, returns null, else returns the message corresponding to the failure

success

public static UntrainResult success()

failureCantBuildClassifier

public static UntrainResult failureCantBuildClassifier(String message)


Copyright © 2012. All Rights Reserved.