public class Diagnostics extends Object implements Serializable, Cloneable
Diagnostic information about executable scripts that are part of a deployment.
Constructor and Description |
---|
Diagnostics() |
Modifier and Type | Method and Description |
---|---|
Diagnostics |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The associated error code:
|
String |
getLogTail()
The last portion of the associated diagnostic log.
|
String |
getMessage()
The message associated with the error.
|
String |
getScriptName()
The name of the script.
|
int |
hashCode() |
void |
setErrorCode(LifecycleErrorCode errorCode)
The associated error code:
|
void |
setErrorCode(String errorCode)
The associated error code:
|
void |
setLogTail(String logTail)
The last portion of the associated diagnostic log.
|
void |
setMessage(String message)
The message associated with the error.
|
void |
setScriptName(String scriptName)
The name of the script.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Diagnostics |
withErrorCode(LifecycleErrorCode errorCode)
The associated error code:
|
Diagnostics |
withErrorCode(String errorCode)
The associated error code:
|
Diagnostics |
withLogTail(String logTail)
The last portion of the associated diagnostic log.
|
Diagnostics |
withMessage(String message)
The message associated with the error.
|
Diagnostics |
withScriptName(String scriptName)
The name of the script.
|
public void setErrorCode(String errorCode)
The associated error code:
errorCode
- The associated error code:
LifecycleErrorCode
public String getErrorCode()
The associated error code:
LifecycleErrorCode
public Diagnostics withErrorCode(String errorCode)
The associated error code:
errorCode
- The associated error code:
LifecycleErrorCode
public void setErrorCode(LifecycleErrorCode errorCode)
The associated error code:
errorCode
- The associated error code:
LifecycleErrorCode
public Diagnostics withErrorCode(LifecycleErrorCode errorCode)
The associated error code:
errorCode
- The associated error code:
LifecycleErrorCode
public void setScriptName(String scriptName)
The name of the script.
scriptName
- The name of the script.public String getScriptName()
The name of the script.
public Diagnostics withScriptName(String scriptName)
The name of the script.
scriptName
- The name of the script.public void setMessage(String message)
The message associated with the error.
message
- The message associated with the error.public String getMessage()
The message associated with the error.
public Diagnostics withMessage(String message)
The message associated with the error.
message
- The message associated with the error.public void setLogTail(String logTail)
The last portion of the associated diagnostic log.
logTail
- The last portion of the associated diagnostic log.public String getLogTail()
The last portion of the associated diagnostic log.
public Diagnostics withLogTail(String logTail)
The last portion of the associated diagnostic log.
logTail
- The last portion of the associated diagnostic log.public String toString()
toString
in class Object
Object.toString()
public Diagnostics clone()
Copyright © 2015. All rights reserved.