|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.amp.ErrorReport
public class ErrorReport
An error report is an object generated on the DataPower appliance that reports the
running config, logs, and other pertinent data that can be used in debugging.
There is a operation in AMP which supports generating and retrieving an error
report from a domain on the device. This class represents the data that would
be returned from Commands.getErrorReport(DeviceContext)
. Objects of this class
are automatically instantiated by that getErrorReport
method.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2013
|
Constructor Summary | |
---|---|
ErrorReport(java.lang.String domainName,
java.lang.String location,
java.lang.String name,
byte[] reportFile)
Create a new ErrorReport object. |
Method Summary | |
---|---|
java.lang.String |
getDomainName()
Get the name of the domain for which the error report was generated. |
java.lang.String |
getLocation()
Get the path to the directory on the appliance where the report resides. |
java.lang.String |
getName()
Get the filename of the error report as it resides on the appliance. |
byte[] |
getReportFile()
Get the contents of the error report. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT_2009_2013
Constructor Detail |
---|
public ErrorReport(java.lang.String domainName, java.lang.String location, java.lang.String name, byte[] reportFile)
domainName
- the name of the domain from where the file was extractedlocation
- the directory from where the file was extractedname
- the name of the error report file as stored on the appliancereportFile
- the actual file, represented as a byte[]Method Detail |
---|
public java.lang.String getDomainName()
public java.lang.String getLocation()
public java.lang.String getName()
public byte[] getReportFile()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |