public class TriggerEvent extends JSBaseScriptableObject
myLogger
Constructor and Description |
---|
TriggerEvent()
Constructor (no-arg version for rhino).
|
TriggerEvent(int theType)
Primary Constructor.
|
Modifier and Type | Method and Description |
---|---|
ACL |
jsFunction_getACL()
Get the ACL in use when the action was taken that triggered this event.
|
java.lang.String |
jsFunction_getBaseUrl()
returns the url ex.
|
TriggerConfiguration |
jsFunction_getConfiguration()
Returns the configuration for the workflow trigger.
|
org.mozilla.javascript.IdScriptableObject |
jsFunction_getDate()
Gets the trigger event date.
|
Group |
jsFunction_getGroup()
Get the group whose ACL was in use when the action was taken that triggered this event.
|
java.lang.Object |
jsFunction_getParameter(java.lang.Object theParameterName,
java.lang.Object theDefaultValue)
Returns the value for the specified parameter name, or the given default value if there is no parameter with that
name.
|
org.mozilla.javascript.NativeArray |
jsFunction_getParameterNames()
Returns an array of the parameter names.
|
java.util.Collection |
jsFunction_getResponseHeaders()
Gets the response header names.
|
java.lang.String |
jsFunction_getResponseHeaderValue(java.lang.String theHeader)
Gets the response header value that was previously set.
|
java.lang.String |
jsFunction_getServerURL()
returns the URL of the Mediabeacon server
|
java.lang.String |
jsFunction_getSourceURL()
returns the URL that called the WF if applicable
|
int |
jsFunction_getType()
Gets the event's trigger type.
|
java.lang.String |
jsFunction_getTypeString()
Returns the type string associated with this event's type.
|
java.lang.Object |
jsFunction_getUploadedFile()
Get the unmanaged instance of the file uploaded via POST request.
|
User |
jsFunction_getUser()
Returns the user whose action triggered this event.
|
Workflow |
jsFunction_getWorkflow()
Returns the event workflow file.
|
java.lang.String |
jsFunction_setResponseHeader(java.lang.String theHeader,
java.lang.String theValue)
Sets the response header to the value.
|
java.lang.Object |
jsFunction_toNative(java.lang.Object theObject)
Returns a mock-up of the object as a native object so you can stringify it and see its attributes
|
org.mozilla.javascript.IdScriptableObject |
jsGet_date()
Deprecated.
Use
TriggerEvent.jsFunction_getDate() instead. |
int |
jsGet_type()
Deprecated.
Use
TriggerEvent.jsFunction_getType() instead; |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public TriggerEvent(int theType)
theType
- the event's trigger typeTriggerConstants
public TriggerEvent()
public java.lang.Object jsFunction_getUploadedFile()
@Deprecated public org.mozilla.javascript.IdScriptableObject jsGet_date()
TriggerEvent.jsFunction_getDate()
instead.TriggerEvent.jsFunction_getDate()
public org.mozilla.javascript.IdScriptableObject jsFunction_getDate()
@Deprecated public int jsGet_type()
TriggerEvent.jsFunction_getType()
instead;TriggerEvent.jsFunction_getType()
public int jsFunction_getType()
public java.lang.String jsFunction_getTypeString()
public User jsFunction_getUser()
public Group jsFunction_getGroup()
public ACL jsFunction_getACL()
public Workflow jsFunction_getWorkflow()
public java.lang.String jsFunction_getServerURL()
public java.lang.String jsFunction_getSourceURL()
public TriggerConfiguration jsFunction_getConfiguration()
public java.lang.String jsFunction_getBaseUrl()
public org.mozilla.javascript.NativeArray jsFunction_getParameterNames()
public java.lang.Object jsFunction_getParameter(java.lang.Object theParameterName, java.lang.Object theDefaultValue)
theParameterName
- the parameter nametheDefaultValue
- optional, if specified, this value is return in the event that the parameter with the
given name isn't doesn't have a value defined.public java.lang.String jsFunction_getResponseHeaderValue(java.lang.String theHeader)
public java.util.Collection jsFunction_getResponseHeaders()
public java.lang.String jsFunction_setResponseHeader(java.lang.String theHeader, java.lang.String theValue)
public java.lang.Object jsFunction_toNative(java.lang.Object theObject)
theObject
- Copyright © 2023 MediaBeacon, Inc. All Rights Reserved.