Class STSInstanceModelResponse
- java.lang.Object
-
- com.sun.identity.console.sts.model.STSInstanceModelResponse
-
public class STSInstanceModelResponse extends Object
Model responses, particularly in the context of Rest STS instance creation, require a success flag, and a message. The success flag indicates whether the message will be displayed as in a success, or error, dialog.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static STSInstanceModelResponsefailure(String failureMessage)StringgetMessage()booleanisSuccessful()static STSInstanceModelResponsesuccess()static STSInstanceModelResponsesuccess(String successMessage)
-
-
-
Method Detail
-
failure
public static STSInstanceModelResponse failure(String failureMessage)
-
success
public static STSInstanceModelResponse success(String successMessage)
-
success
public static STSInstanceModelResponse success()
-
isSuccessful
public boolean isSuccessful()
-
getMessage
public String getMessage()
-
-