Class AdminCommandResponse
- java.lang.Object
-
- com.sun.enterprise.universal.glassfish.AdminCommandResponse
-
public class AdminCommandResponse extends Object
Wraps the Manifest object returned by the Server. The Manifest object has an internally defined format over and above the Manifest itself. This is a central place where we are aware of all the details so that callers don't have to be. If the format changes or the returned Object type changes then this class will be the thing to change.- Author:
- bnevins
-
-
Constructor Summary
Constructors Constructor Description AdminCommandResponse(InputStream inStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCause()
Map<String,Map<String,String>>
getChildren(Map<String,String> map)
List<NameValue<String,String>>
getKeys(Map<String,String> map)
Map<String,String>
getMainAtts()
List<NameValue<String,String>>
getMainKeys()
String
getMainMessage()
String
getValue(String key)
boolean
isGeneratedHelp()
boolean
wasFailure()
boolean
wasSuccess()
boolean
wasWarning()
-
-
-
Field Detail
-
GENERATED_HELP
public static final String GENERATED_HELP
- See Also:
- Constant Field Values
-
MANPAGE
public static final String MANPAGE
- See Also:
- Constant Field Values
-
SYNOPSIS
public static final String SYNOPSIS
- See Also:
- Constant Field Values
-
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
-
CHILDREN_TYPE
public static final String CHILDREN_TYPE
- See Also:
- Constant Field Values
-
EXITCODE
public static final String EXITCODE
- See Also:
- Constant Field Values
-
SUCCESS
public static final String SUCCESS
- See Also:
- Constant Field Values
-
WARNING
public static final String WARNING
- See Also:
- Constant Field Values
-
FAILURE
public static final String FAILURE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdminCommandResponse
public AdminCommandResponse(InputStream inStream) throws IOException
- Throws:
IOException
-
-