Class ClusterCommandResultImpl
- java.lang.Object
-
- fish.payara.appserver.micro.services.command.ClusterCommandResultImpl
-
- All Implemented Interfaces:
ClusterCommandResult
,Serializable
public class ClusterCommandResultImpl extends Object implements ClusterCommandResult
- Author:
- steve
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface fish.payara.micro.ClusterCommandResult
ClusterCommandResult.ExitStatus
-
-
Constructor Summary
Constructors Constructor Description ClusterCommandResultImpl(ClusterCommandResult.ExitStatus status, String output, Throwable failureCause)
ClusterCommandResultImpl(CommandResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterCommandResult.ExitStatus
getExitStatus()
Throwable
getFailureCause()
String
getOutput()
-
-
-
Constructor Detail
-
ClusterCommandResultImpl
public ClusterCommandResultImpl(CommandResult result)
-
ClusterCommandResultImpl
public ClusterCommandResultImpl(ClusterCommandResult.ExitStatus status, String output, Throwable failureCause)
-
-
Method Detail
-
getExitStatus
public ClusterCommandResult.ExitStatus getExitStatus()
- Specified by:
getExitStatus
in interfaceClusterCommandResult
-
getOutput
public String getOutput()
- Specified by:
getOutput
in interfaceClusterCommandResult
-
getFailureCause
public Throwable getFailureCause()
- Specified by:
getFailureCause
in interfaceClusterCommandResult
-
-