|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.core.EntityObject org.figure8.join.businessobjects.reporting.Event
public class Event
This is an entity object that helps defining events into Join workflow. An event is thrown at defined moments of the process, it can be used to create information messages using the templating facilities it provides.
Field Summary | |
---|---|
static java.lang.String |
ASSEMBLY_EVENT_KEY
Constant denoting the key of built-in assembly creationg event |
static java.lang.String |
BUILD_EVENT_KEY
Constant denoting the key of built-in build creation event |
static java.lang.String |
DELIVERY_EVENT_KEY
Constant denoting the key of built-in delivery creation event |
static java.lang.String |
DEPLOYMENT_DEMAND_KEY
Constant denoting the key of built-in deployment demand event |
static java.lang.String |
DEPLOYMENT_END_KEY
Constant denoting the key of built-il deployment end event |
static java.lang.String |
DEPLOYMENT_PREPARATION_KEY
Constant denoting the key of built-in deployment preparation event |
static java.lang.String |
DEPLOYMENT_REALIZATION_KEY
Constant denoting the key of built-in deployment realization event |
Constructor Summary | |
---|---|
Event()
Creates a new instance of Event |
|
Event(java.lang.String key,
java.lang.String label)
Creates a new instance of Event with mandatory attributes |
Method Summary | |
---|---|
java.lang.String |
getKey()
|
java.lang.String |
getLabel()
|
java.lang.String |
getMsgContentTemplate()
|
java.lang.String |
getMsgLinkTemplate()
|
java.lang.String |
getMsgTitleTemplate()
|
PermissionResourceResolver |
getResourceResolver()
Get the ResourceResolver asssociated to this event (if any). |
java.lang.String |
getResourceResolverClass()
|
protected void |
instantiateResourceResolver()
Try to instantiate the PermissionResourceResolver
associated with this role (if any ...) |
void |
setKey(java.lang.String key)
|
void |
setLabel(java.lang.String label)
|
void |
setMsgContentTemplate(java.lang.String msgContentTemplate)
|
void |
setMsgLinkTemplate(java.lang.String msgLinkTemplate)
|
void |
setMsgTitleTemplate(java.lang.String msgTitleTemplate)
|
void |
setResourceResolverClass(java.lang.String resourceResolverClass)
Give a resource resolver to this event. ie : an helper object that allows to retrieve resources to whom should apply event publication. |
Methods inherited from class org.figure8.join.core.EntityObject |
---|
clone, equals, getId, hashCode, isTransient |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DELIVERY_EVENT_KEY
public static final java.lang.String BUILD_EVENT_KEY
public static final java.lang.String ASSEMBLY_EVENT_KEY
public static final java.lang.String DEPLOYMENT_DEMAND_KEY
public static final java.lang.String DEPLOYMENT_PREPARATION_KEY
public static final java.lang.String DEPLOYMENT_REALIZATION_KEY
public static final java.lang.String DEPLOYMENT_END_KEY
Constructor Detail |
---|
public Event()
public Event(java.lang.String key, java.lang.String label)
key
- The unique of this eventlabel
- The label to display for this eventMethod Detail |
---|
public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The unique key for this eventpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- The label to display for this eventpublic java.lang.String getMsgTitleTemplate()
public void setMsgTitleTemplate(java.lang.String msgTitleTemplate)
msgTitleTemplate
- String representing template for title generationpublic java.lang.String getMsgContentTemplate()
public void setMsgContentTemplate(java.lang.String msgContentTemplate)
msgContentTemplate
- String representing template for generating messages contentpublic java.lang.String getMsgLinkTemplate()
public void setMsgLinkTemplate(java.lang.String msgLinkTemplate)
msgLinkTemplate
- String representing template for generating messages linkpublic java.lang.String getResourceResolverClass()
public void setResourceResolverClass(java.lang.String resourceResolverClass) throws InvalidParameterException
org.figure8.join.services.security.PermissionResourceResolver
resourceResolverClass
- FQN of Java class
InvalidParameterException
- if the permissionResourceResolverClass is not validpublic PermissionResourceResolver getResourceResolver() throws InvalidParameterException
ResourceResolver
asssociated to this event (if any).
InvalidParameterException
- if the permissionResourceResolverClass inner field is not validprotected void instantiateResourceResolver() throws InvalidParameterException
PermissionResourceResolver
associated with this role (if any ...)
InvalidParameterException
- if the permissionResourceResolverClass inner field is not valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |