edu.washington.cs.sounddetector.server.api.methodresult
Class RenameDetectorResult
java.lang.Object
edu.washington.cs.sounddetector.server.api.MethodResult<RenameDetector>
edu.washington.cs.sounddetector.server.api.methodresult.RenameDetectorResult
public class RenameDetectorResult
- extends MethodResult<RenameDetector>
getDetectorId
public String getDetectorId()
- Returns:
- if
MethodResult.isSuccessful()
returns false, returns the detectorId that does not exist.
Otherwise returns null.
success
public static RenameDetectorResult success()
failureDetectorIdDoesNotExist
public static RenameDetectorResult failureDetectorIdDoesNotExist(String detectorId)
Copyright © 2012. All Rights Reserved.