public class SsmErrataEvent extends java.lang.Object implements EventDatabaseMessage
Constructor and Description |
---|
SsmErrataEvent(java.lang.Long uid,
java.util.Date scheduleDate,
ActionChain actionChain,
java.util.List<java.lang.Long> errataList,
java.util.List<java.lang.Long> serverList)
SSM Errata Event object constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getActionChainId()
Gets the action chain id.
|
java.util.Date |
getEarliest()
Get earliest possible scheduling date.
|
java.util.List<java.lang.Long> |
getErrataIds()
Get errata IDs.
|
java.util.List<java.lang.Long> |
getServerIds()
Get server IDs.
|
org.hibernate.Transaction |
getTransaction()
Get the Transaction from the caller/creator of this EventMessage.
|
java.lang.Long |
getUserId()
Get UID.
|
java.lang.String |
toString() |
java.lang.String |
toText()
Convert the internal representation to a text string
|
public SsmErrataEvent(java.lang.Long uid, java.util.Date scheduleDate, ActionChain actionChain, java.util.List<java.lang.Long> errataList, java.util.List<java.lang.Long> serverList)
uid
- User IDscheduleDate
- Earliest possible schedule.actionChain
- the selected Action Chain or nullerrataList
- List of erratas (ID)serverList
- List of relevant servers (ID)public java.lang.Long getUserId()
getUserId
in interface EventMessage
null
public java.util.Date getEarliest()
null
public java.lang.Long getActionChainId()
public java.util.List<java.lang.Long> getErrataIds()
public java.util.List<java.lang.Long> getServerIds()
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