public abstract class SsmPackageEvent extends java.lang.Object implements EventDatabaseMessage
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
actionChainId |
protected java.util.Date |
earliest |
protected java.lang.Long |
userId |
| Constructor and Description |
|---|
SsmPackageEvent(java.lang.Long userIdIn,
java.util.Date earliestIn,
ActionChain actionChainIn)
Creates a new event to install a set of packages on systems in the SSM.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getActionChainId()
Gets the Action Chain ID
|
java.util.Date |
getEarliest() |
org.hibernate.Transaction |
getTransaction()
Get the Transaction from the caller/creator of this EventMessage.
|
java.lang.Long |
getUserId()
Get the user that scheduled the Event (needed to initialize logging)
|
java.lang.String |
toString() |
java.lang.String |
toText()
Convert the internal representation to a text string
|
protected java.lang.Long userId
protected java.util.Date earliest
protected java.lang.Long actionChainId
public SsmPackageEvent(java.lang.Long userIdIn,
java.util.Date earliestIn,
ActionChain actionChainIn)
userIdIn - user making the changes; cannot be nullearliestIn - earliest time to perform the installation; can be
nullactionChainIn - the selected Action Chain or nullpublic java.lang.Long getUserId()
EventMessagegetUserId in interface EventMessagenullpublic java.util.Date getEarliest()
nullpublic java.lang.Long getActionChainId()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toText()
toText in interface EventMessagepublic org.hibernate.Transaction getTransaction()
getTransaction in interface EventDatabaseMessage