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 null
earliestIn
- earliest time to perform the installation; can be
null
actionChainIn
- the selected Action Chain or nullpublic java.lang.Long getUserId()
EventMessage
getUserId
in interface EventMessage
null
public java.util.Date getEarliest()
null
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