|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.logging.events.cbe.impl.SituationTypeImpl
org.eclipse.tptp.logging.events.cbe.impl.AvailableSituationImpl
public class AvailableSituationImpl
Class representing an implementation of an AvailableSituation.
The following description is from the Common Base Event v1.0.1 specification entitled "Canonical Situation Data Format: The Common Base Event V1.0.1":
The AvailableSituation deals with the situations reported from the component regarding its operational state and availability. This situation provides a context for operations that can be performed on the component by distinguishing if a product is installed, operational, and ready to process functional requests. Or, operational and ready/not ready to process management requests. Existing messages include words like those that indicate it is ready to take requests, both online and offline. For example:
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Return a cloned (copy by value) object of this object. |
boolean |
equals(java.lang.Object object)
Overrides the java.lang.Object's equals() API to
determine if the parameter object is equal to this object. |
java.lang.String |
getAvailabilityDisposition()
Returns the value of the 'Availability Disposition' attribute. |
java.lang.String |
getOperationDisposition()
Returns the value of the 'Operation Disposition' attribute. |
java.lang.String |
getProcessingDisposition()
Returns the value of the 'Processing Disposition' attribute. |
void |
init()
Resets the object's properties to their initial (e.g. null) state. |
void |
setAvailabilityDisposition(java.lang.String newAvailabilityDisposition)
Sets the value of the ' Availability Disposition'
attribute. |
void |
setOperationDisposition(java.lang.String newOperationDisposition)
Sets the value of the ' Operation Disposition'
attribute. |
void |
setProcessingDisposition(java.lang.String newProcessingDisposition)
Sets the value of the ' Processing Disposition'
attribute. |
java.lang.String |
toString()
|
void |
validate()
Checks whether the contents of the instance conform to the Common Base Event specification as described in "Canonical Situation Data Format: The Common Base Event V1.0.1". |
| Methods inherited from class org.eclipse.tptp.logging.events.cbe.impl.SituationTypeImpl |
|---|
getReasoningScope, setReasoningScope |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.tptp.logging.events.cbe.SituationType |
|---|
getReasoningScope, setReasoningScope |
| Method Detail |
|---|
public java.lang.String getOperationDisposition()
AvailableSituationReturns the value of the 'Operation Disposition' attribute.
getOperationDisposition in interface AvailableSituationAvailableSituation.setOperationDisposition(String)public void setOperationDisposition(java.lang.String newOperationDisposition)
AvailableSituation
Sets the value of the '
Operation Disposition'
attribute.
This property specifies the operational state of the component reported by the situation. The operationalDisposition is a string with the values such as:
This is a required property and once it is set it must not change. The string length for this property must not exceed 64 characters.
setOperationDisposition in interface AvailableSituationnewOperationDisposition - the new value of the 'Operation Disposition'
attribute.AvailableSituation.getOperationDisposition()public java.lang.String getAvailabilityDisposition()
AvailableSituationReturns the value of the 'Availability Disposition' attribute.
getAvailabilityDisposition in interface AvailableSituationAvailableSituation.setAvailabilityDisposition(String)public void setAvailabilityDisposition(java.lang.String newAvailabilityDisposition)
AvailableSituation
Sets the value of the '
Availability Disposition'
attribute.
This property specifies the availability disposition of an entity or component that caused the situation to be reported.
The availabilityDisposition is a string with the following set of values:
setAvailabilityDisposition in interface AvailableSituationnewAvailabilityDisposition - the new value of the 'Availability Disposition'
attribute.AvailableSituation.getAvailabilityDisposition()public java.lang.String getProcessingDisposition()
AvailableSituationReturns the value of the 'Processing Disposition' attribute.
getProcessingDisposition in interface AvailableSituationAvailableSituation.setProcessingDisposition(String)public void setProcessingDisposition(java.lang.String newProcessingDisposition)
AvailableSituation
Sets the value of the '
Processing Disposition'
attribute.
This property specifies the processing disposition of a component operation that caused the situation to be reported.
The processingDisposition is a string with the following set of values:
setProcessingDisposition in interface AvailableSituationnewProcessingDisposition - the new value of the 'Processing Disposition'
attribute.AvailableSituation.getProcessingDisposition()public java.lang.String toString()
toString in class SituationTypeImpl
public void validate()
throws ValidationException
validate in interface SituationTypevalidate in class SituationTypeImplValidationException - If the event instance does not conform to the Common Base Event specification.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
This is a deep copy version, in which all the objects within this object will be copied by value.
clone in class SituationTypeImpljava.lang.CloneNotSupportedException - If a instance variable of this object does not implement the Cloneable interface.public boolean equals(java.lang.Object object)
java.lang.Object's equals() API to
determine if the parameter object is equal to this object.
equals in class SituationTypeImplobject - The java.lang.Object to be compared to this object.
object, otherwise false.Object.equals(java.lang.Object)public void init()
init in interface AvailableSituationinit in interface SituationTypeinit in class SituationTypeImpl
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||