public class ActivityClassSchema extends Identity implements JSONCacheable, XMLable
Modifier and Type | Field and Description |
---|---|
static int |
ASYNCHRONOUS
Constant indicating that activities of this schema can be
run asynchronously.
|
static int |
ATTENDED
Constant indicating that activities of this schema must be attended.
|
static int |
ATTENDED_AND_UNATTENDED
Constant indicating that designers can choose whether activities of this
schema are be attended or unattended.
|
static java.lang.Integer |
ENVIRONMENT_JAVA
Constant indicating a Java execution environment.
|
static java.lang.Integer |
ENVIRONMENT_PROCESS_EXECUTION_ENGINE
Constant indicating a Process execution engine environment.
|
static int |
SYNCHRONOUS
Constant indicating that activities of this schema cannot be
run asynchronously.
|
static int |
TYPE_ASSIGNEE_POOL
Constant indicating that activities of this schema are for to perform
task assignment only.
|
static int |
TYPE_ASSIGNMENT
Constant indicating that activities of this schema are for to perform
task assignment only.
|
static int |
TYPE_ESCALATIONS
Constant indicating that activities of this schema are escalations.
|
static int |
TYPE_SMART_NODES
Constant indicating that nodes containing activities of this schema
are smart noded.
|
static int |
TYPE_SUBPROCESS
Constant indicating that activities of this schema are subprocesses.
|
static int |
TYPE_SYSTEM
Constant indicating that activities of this schema are for internal system
use only.
|
static int |
UNATTENDED
Constant indicating that activities of this schema must be unattended.
|
hiddenAttributes$TRANSIENT
DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
ActivityClassSchema() |
Modifier and Type | Method and Description |
---|---|
static ActivityClassSchema |
findByLocalId(ActivityClassSchema[] schemas,
java.lang.String localId) |
int |
getAsynchronous()
Indicates whether activities of this schema be run asynchronously.
|
java.lang.String |
getCustomSetupUrl()
Gets the URL for the custom setup tab
|
java.lang.Integer |
getExecutionEnvironmentId()
Gets the the execution environment for this activity class schema
|
FormConfig |
getFormConfig(java.util.Locale locale_)
Gets the form config corresponding to the given locale, or null if
no such config exists.
|
FormConfigMap |
getFormConfigMap()
Gets the information about the form associated with this activity class
schema.
|
java.lang.String |
getFunction()
Gets the k function for this activity class schema
|
java.lang.String |
getHelperClass()
Gets the helper class for this activity class schema.
|
java.util.HashSet<java.lang.String> |
getHiddenAttributes()
Returns the set of attributes (properties) that should not be included in
the JSON representation of the object.
|
java.lang.String |
getJavaClassName() |
java.lang.String |
getLocalId()
Gets the local id of the activity class schema on the system.
|
ActivityClassParameterSchema[] |
getParameters()
Gets the parameters used by activities that conform to this schema.
|
ActivityReturnVariable[] |
getReturnValues()
Gets the return variables for this activity class schema
|
int |
getType()
Gets the type for this activity class schema.
|
java.lang.Long |
getUnattended()
Indicates whether the activity class schema requires user interaction to
complete
|
boolean |
isTemplate()
Indicates whether this schema is a template for a particular web service
(Not in use)
|
void |
setAsynchronous(int asynchronous_)
Sets whether activities of this schema be run asynchronously.
|
void |
setCustomSetupUrl(java.lang.String customSetupUrl_)
Sets the URL for the custom setup tab
|
void |
setExecutionEnvironmentId(java.lang.Integer executionEnvironmentId_)
sets the executionEnvironment for this ac-schema
|
void |
setFormConfigMap(FormConfigMap formConfigMap_)
Sets the information about the form associated with this activity class
schema
|
void |
setFunction(java.lang.String function_)
Sets the k function for this activity class schema
|
void |
setHelperClass(java.lang.String parameterHelperClassname_)
Sets the helper class for this activity class schema.
|
void |
setJavaClassName(java.lang.String javaClassName_)
sets the java class name for this ac-schema
|
void |
setLocalId(java.lang.String localId_)
Sets the local id of the activity class schema on the system.
|
void |
setParameters(ActivityClassParameterSchema[] parameters_)
Sets the parameters used by activities that conform to this schema.
|
void |
setReturnValues(ActivityReturnVariable[] returnValues_)
Sets the return variables for this activity class schema
|
void |
setTemplate(boolean template_)
Sets whether this schema a template for a particular web service
|
void |
setType(int type_)
Sets the type for this activity class schema.
|
void |
setUnattended(java.lang.Long unattended_)
Sets whether the activity class schema requires user interaction to
complete
|
java.lang.String |
toXML()
Generates an XML representation of this object (including all
child objects).
|
void |
toXML(java.lang.StringBuilder buffer_)
Appends an XML representation of this object (including all
child objects) to the given buffer.
|
equals, getId, getName, getUuid, hashCode, setId, setName, setUuid, toString
public static final java.lang.Integer ENVIRONMENT_PROCESS_EXECUTION_ENGINE
public static final java.lang.Integer ENVIRONMENT_JAVA
public static final int ATTENDED
public static final int UNATTENDED
public static final int ATTENDED_AND_UNATTENDED
public static final int TYPE_SYSTEM
public static final int TYPE_ASSIGNMENT
public static final int TYPE_ASSIGNEE_POOL
public static final int TYPE_SMART_NODES
public static final int TYPE_SUBPROCESS
public static final int TYPE_ESCALATIONS
public static final int ASYNCHRONOUS
public static final int SYNCHRONOUS
public java.util.HashSet<java.lang.String> getHiddenAttributes()
JSONable
getHiddenAttributes
in interface JSONable
public ActivityClassParameterSchema[] getParameters()
ActivityClassParameterSchema
objects
representing the parameters for this activity class schemaActivityClassParameterSchema
public void setParameters(ActivityClassParameterSchema[] parameters_)
parameters_
- an array of ActivityClassParameterSchema
objects
representing the parameters for this activity class schemaActivityClassParameterSchema
public java.lang.String toXML()
XMLable
StringBuilder
and call
toXML( StringBuilder )
on it.public void toXML(java.lang.StringBuilder buffer_)
XMLable
public java.lang.String getFunction()
public void setFunction(java.lang.String function_)
function_
- the k function for this activity class schemapublic java.lang.Integer getExecutionEnvironmentId()
ENVIRONMENT_JAVA
,
ActivityClassSchema#ENVIRONMENT_K
public void setExecutionEnvironmentId(java.lang.Integer executionEnvironmentId_)
executionEnvironmentId_
- tthe execution environment for this activity
class schema. Allowed
values are :
ENVIRONMENT_JAVA
,
ActivityClassSchema#ENVIRONMENT_K
public java.lang.String getJavaClassName()
public void setJavaClassName(java.lang.String javaClassName_)
javaClassName_
- the javaClassName to set for this ac-schemapublic java.lang.Long getUnattended()
ATTENDED
if the activity class schema is attended (requires human interaction),
UNATTENDED
if the activity class schema is unattended,
ATTENDED_AND_UNATTENDED
if it can be bothpublic void setUnattended(java.lang.Long unattended_)
unattended_
- value to set for whether this ac-schema is unattended.
Allowed values are: ATTENDED
if the activity class schema is attended (requires human interaction),
UNATTENDED
if the activity class schema is unattended,
ATTENDED_AND_UNATTENDED
if it can be bothpublic void setHelperClass(java.lang.String parameterHelperClassname_)
parameterHelperClassname_
- the helper classgetHelperClass()
public java.lang.String getHelperClass()
ActivityParameterHelper
class for more information on the specific functionality of a helper
class.public int getType()
ActivityClassSchema.TYPE_XXX
public void setType(int type_)
ActivityClassSchema.TYPE_XXX
type_
- the Type of this activity class schema to setpublic ActivityReturnVariable[] getReturnValues()
ActivityReturnVariable
objects representing the return values of the activity class schemaActivityReturnVariable
public void setReturnValues(ActivityReturnVariable[] returnValues_)
returnValues_
- an array of ActivityReturnVariable
objects representing the return values of the activity class schemaActivityReturnVariable
public FormConfigMap getFormConfigMap()
FormConfig
object that represents information about
the form associated with this activity class schemaFormConfig
public FormConfig getFormConfig(java.util.Locale locale_)
locale_
- public void setFormConfigMap(FormConfigMap formConfigMap_)
formConfig_
- a FormConfig
object that represents
information about the form associated with this activity class schema to
setpublic java.lang.String getLocalId()
public void setLocalId(java.lang.String localId_)
localId_
- The localId to set.public int getAsynchronous()
ASYNCHRONOUS
,
SYNCHRONOUS
public void setAsynchronous(int asynchronous_)
asynchronous_
- an integer which indicates whether activities of this
schema be
run asynchronously.
Allowed values are:
ASYNCHRONOUS
,
SYNCHRONOUS
,public java.lang.String getCustomSetupUrl()
public void setCustomSetupUrl(java.lang.String customSetupUrl_)
customSetupUrl_
- he URL for the custom setup tab to set.public boolean isTemplate()
true
if this schema a template for a
particular web service, false
otherwisepublic void setTemplate(boolean template_)
template_
- true
if this schema a template for a
particular web service, false
otherwise.public static ActivityClassSchema findByLocalId(ActivityClassSchema[] schemas, java.lang.String localId)
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.