Class CollectionResult
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.billing.CollectionResult
-
public class CollectionResult extends Object
Object to carry the result ofBillingController.setCollectionMethod(com.yahoo.config.provision.TenantName, com.yahoo.vespa.hosted.controller.api.integration.billing.CollectionMethod)- Author:
- smorgrav
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CollectionResulterror(String errorMessage)Optional<String>getErrorMessage()inthashCode()booleanisSuccess()static CollectionResultsuccess()StringtoString()
-
-
-
Method Detail
-
success
public static CollectionResult success()
-
error
public static CollectionResult error(String errorMessage)
-
isSuccess
public boolean isSuccess()
-
-