org.globus.mds.trigger.types
Class TriggerStatusType

java.lang.Object
  extended byorg.globus.mds.trigger.types.TriggerStatusType
All Implemented Interfaces:
Serializable

public class TriggerStatusType
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
TriggerStatusType()
           
TriggerStatusType(String triggerID, String matchingRule, Calendar conditionTrueSince, Calendar actionFiredAt, Calendar ruleLastCheckedAt, ActionResult actionOutput, String statusInfo)
           
 
Method Summary
 boolean equals(Object obj)
           
 Calendar getActionFiredAt()
          Gets the actionFiredAt value for this TriggerStatusType.
 ActionResult getActionOutput()
          Gets the actionOutput value for this TriggerStatusType.
 Calendar getConditionTrueSince()
          Gets the conditionTrueSince value for this TriggerStatusType.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getMatchingRule()
          Gets the matchingRule value for this TriggerStatusType.
 Calendar getRuleLastCheckedAt()
          Gets the ruleLastCheckedAt value for this TriggerStatusType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getStatusInfo()
          Gets the statusInfo value for this TriggerStatusType.
 String getTriggerID()
          Gets the triggerID value for this TriggerStatusType.
static TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setActionFiredAt(Calendar actionFiredAt)
          Sets the actionFiredAt value for this TriggerStatusType.
 void setActionOutput(ActionResult actionOutput)
          Sets the actionOutput value for this TriggerStatusType.
 void setConditionTrueSince(Calendar conditionTrueSince)
          Sets the conditionTrueSince value for this TriggerStatusType.
 void setMatchingRule(String matchingRule)
          Sets the matchingRule value for this TriggerStatusType.
 void setRuleLastCheckedAt(Calendar ruleLastCheckedAt)
          Sets the ruleLastCheckedAt value for this TriggerStatusType.
 void setStatusInfo(String statusInfo)
          Sets the statusInfo value for this TriggerStatusType.
 void setTriggerID(String triggerID)
          Sets the triggerID value for this TriggerStatusType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerStatusType

public TriggerStatusType()

TriggerStatusType

public TriggerStatusType(String triggerID,
                         String matchingRule,
                         Calendar conditionTrueSince,
                         Calendar actionFiredAt,
                         Calendar ruleLastCheckedAt,
                         ActionResult actionOutput,
                         String statusInfo)
Method Detail

getTriggerID

public String getTriggerID()
Gets the triggerID value for this TriggerStatusType.

Returns:
triggerID * This is an optional implementation assigned value that may be used by the implementation to associate multiple TriggerRule and TriggerStatus pairs.

setTriggerID

public void setTriggerID(String triggerID)
Sets the triggerID value for this TriggerStatusType.

Parameters:
triggerID - * This is an optional implementation assigned value that may be used by the implementation to associate multiple TriggerRule and TriggerStatus pairs.

getMatchingRule

public String getMatchingRule()
Gets the matchingRule value for this TriggerStatusType.

Returns:
matchingRule * The original matchingRule to which this TriggerStatus corresponds to. This field is populated for reference only. The triggerID field should be used for exact matching of TriggerStatusType to TriggerRuleType.

setMatchingRule

public void setMatchingRule(String matchingRule)
Sets the matchingRule value for this TriggerStatusType.

Parameters:
matchingRule - * The original matchingRule to which this TriggerStatus corresponds to. This field is populated for reference only. The triggerID field should be used for exact matching of TriggerStatusType to TriggerRuleType.

getConditionTrueSince

public Calendar getConditionTrueSince()
Gets the conditionTrueSince value for this TriggerStatusType.

Returns:
conditionTrueSince * The matchingRule has been true since this time. This does not necessarily mean the rule has been fired (for example, the minimumMatchTime may not have yet been reached).

setConditionTrueSince

public void setConditionTrueSince(Calendar conditionTrueSince)
Sets the conditionTrueSince value for this TriggerStatusType.

Parameters:
conditionTrueSince - * The matchingRule has been true since this time. This does not necessarily mean the rule has been fired (for example, the minimumMatchTime may not have yet been reached).

getActionFiredAt

public Calendar getActionFiredAt()
Gets the actionFiredAt value for this TriggerStatusType.

Returns:
actionFiredAt * The time that the action script was last fired. This is needed to enforce minimumFiringInterval.

setActionFiredAt

public void setActionFiredAt(Calendar actionFiredAt)
Sets the actionFiredAt value for this TriggerStatusType.

Parameters:
actionFiredAt - * The time that the action script was last fired. This is needed to enforce minimumFiringInterval.

getRuleLastCheckedAt

public Calendar getRuleLastCheckedAt()
Gets the ruleLastCheckedAt value for this TriggerStatusType.

Returns:
ruleLastCheckedAt * The time that the matchingRule was last checked against aggregated data, whether the matchingRule fired or not.

setRuleLastCheckedAt

public void setRuleLastCheckedAt(Calendar ruleLastCheckedAt)
Sets the ruleLastCheckedAt value for this TriggerStatusType.

Parameters:
ruleLastCheckedAt - * The time that the matchingRule was last checked against aggregated data, whether the matchingRule fired or not.

getActionOutput

public ActionResult getActionOutput()
Gets the actionOutput value for this TriggerStatusType.

Returns:
actionOutput * The output of the action script last time it was run. The type is XSD:any.

setActionOutput

public void setActionOutput(ActionResult actionOutput)
Sets the actionOutput value for this TriggerStatusType.

Parameters:
actionOutput - * The output of the action script last time it was run. The type is XSD:any.

getStatusInfo

public String getStatusInfo()
Gets the statusInfo value for this TriggerStatusType.

Returns:
statusInfo * The service may write state or error information to this string field during runtime.

setStatusInfo

public void setStatusInfo(String statusInfo)
Sets the statusInfo value for this TriggerStatusType.

Parameters:
statusInfo - * The service may write state or error information to this string field during runtime.

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

getTypeDesc

public static TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static Serializer getSerializer(String mechType,
                                       Class _javaType,
                                       QName _xmlType)
Get Custom Serializer


getDeserializer

public static Deserializer getDeserializer(String mechType,
                                           Class _javaType,
                                           QName _xmlType)
Get Custom Deserializer



Copyright © 1999-2006 University of Chicago. All rights reserved.