public class SsmSystemRebootEvent extends java.lang.Object implements EventDatabaseMessage
Constructor and Description |
---|
SsmSystemRebootEvent(java.lang.Long uid,
java.util.Date scheduleDate,
ActionChain actionChain,
java.util.Set<java.lang.Long> servers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getActionChainId()
Gets the action chain id.
|
java.util.Date |
getEarliest()
Get the date of the scheduling for earliest possible time.
|
java.util.Set<java.lang.Long> |
getServerIds()
Get the list of server IDs.
|
org.hibernate.Transaction |
getTransaction()
Get the Transaction from the caller/creator of this EventMessage.
|
java.lang.Long |
getUserId()
Get user ID
|
java.lang.String |
toString()
Convert this object to the java.lang.String
|
java.lang.String |
toText()
Represent the object in ASCII text.
|
public SsmSystemRebootEvent(java.lang.Long uid, java.util.Date scheduleDate, ActionChain actionChain, java.util.Set<java.lang.Long> servers)
uid
- User IDscheduleDate
- Earliest possible schedule date.actionChain
- the selected Action Chain or nullservers
- List of server IDs.public java.lang.Long getUserId()
getUserId
in interface EventMessage
public java.util.Set<java.lang.Long> getServerIds()
public java.util.Date getEarliest()
public java.lang.Long getActionChainId()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toText()
toText
in interface EventMessage
public org.hibernate.Transaction getTransaction()
getTransaction
in interface EventDatabaseMessage