Package com.redwood.scheduler.api.model
Interface ProcessServer
-
- All Superinterfaces:
ApplicationObject,BusinessKeyObject,NamedRootObject,NamedRootObjectComp,PartitionableObject,PartitionableObjectComp,ProcessServerComp,Readable,Root,SchedulerEntity,SchedulerEntityComp,UniqueNamedApplicationObject
public interface ProcessServer extends ProcessServerComp, UniqueNamedApplicationObject, Readable
A process server contains services that run jobs.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "ProcessServer" objects.static StringOSFAMILY_AS400The AS/400 OS Familystatic StringOSFAMILY_UNIXThe UNIX OS Familystatic StringOSFAMILY_VMSThe VMS OS Familystatic StringOSFAMILY_WINDOWSThe Windows OS Familystatic LongRESTART_TIMEOUTThe default timeout for restarting a Process Serverstatic StringSEC_PRIV_CONTROLThis privilege can be granted at a group level.static StringSEC_PRIV_CREATEThis privilege can be granted at a group level.static StringSEC_PRIV_DELETEThis privilege can be granted at a group level.static StringSEC_PRIV_EDITThis privilege can be granted at a group level.static StringSEC_PRIV_VIEWThis privilege can be granted at a group level.static StringSEC_PRIV_VIEWJOBSThis privilege can be granted at a group level.static StringSEC_RANK_ADMINISTRATORThis rank is made of the following privileges: view , viewJobs , controlstatic StringSEC_RANK_ALLThis rank is made of the following privileges: create , view , viewJobs , control , edit , deletestatic StringSEC_RANK_CREATEThis rank is made of the following privileges: createstatic StringSEC_RANK_DELETEThis rank is made of the following privileges: create , view , viewJobs , control , deletestatic StringSEC_RANK_EDITThis rank is made of the following privileges: create , view , viewJobs , control , editstatic StringSEC_RANK_NONEThis rank has no privileges assigned to it.static StringSEC_RANK_VIEWThis rank is made of the following privileges: viewstatic StringSEC_RANK_VIEWJOBSThis rank is made of the following privileges: view , viewJobsstatic QueryObjectType<ProcessServer>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequiredPermissioncheckControlPrivilege()Check whether or not the control action can be performed on this object.RequiredPermissioncheckCreatePrivilege()Check whether or not the create action can be performed on this object.RequiredPermissioncheckDeletePrivilege()Check whether or not the delete action can be performed on this object.RequiredPermissioncheckEditPrivilege()Check whether or not the edit action can be performed on this object.RequiredPermissioncheckViewJobsPrivilege()Check whether or not the viewJobs action can be performed on this object.RequiredPermissioncheckViewPrivilege()Check whether or not the view action can be performed on this object.ProcessServerCheckcreateProcessServerCheck()Create a newProcessServerChecklinked to this object.ProcessServerJobDefinitionTypecreateProcessServerJobDefinitionType(JobDefinitionType newJobDefinitionType)Create a newProcessServerJobDefinitionTypelinked to this object.voidcreateProcessServerJobDefinitionTypesByOSFamily(String osFamily)Create the default process servers by the OS FamilyProcessServerLoadFactorcreateProcessServerLoadFactor()Create a newProcessServerLoadFactorlinked to this object.ProcessServerParametercreateProcessServerParameter()Create a newProcessServerParameterlinked to this object.ProcessServerResourcecreateProcessServerResource(Resource newResource)Create a newProcessServerResourcelinked to this object.ProcessServerServicecreateProcessServerService(Service newService)Create a newProcessServerServicelinked to this object.ProcessServerStatusLogcreateProcessServerStatusLog()Create a newProcessServerStatusLoglinked to this object.QueueProvidercreateQueueProvider(Queue newQueue)Create a newQueueProviderlinked to this object.ProcessServerServicegetBrowseableProcessServerService()Get ProcessServerService which allows file browsingTimeZonegetDefaultJobTimeZone()Get the DefaultJobTimeZone.LonggetExecutionSize()Get the value for ExecutionSize.RWIterable<FileEventDefinition>getFileEventDefinitions()Get anRWIterableover an ordered collection ofFileEventDefinitions.LonggetLoad()Get the value for Load.LonggetLoadThreshold()Get the value for LoadThreshold.StringgetMonitorRootPath()Get the root path label to use for the process server in the monitor tree.LOVCollectiongetParametersLOV(String query)Get a List of Values (LOV) for process server parameter names, using the specified query (if present).RWIterable<ProcessServerCheck>getProcessServerChecks()Get anRWIterableover an ordered collection ofProcessServerChecks.ProcessServerJobDefinitionTypegetProcessServerJobDefinitionTypeByJobDefinitionType(JobDefinitionType jobDefinitionType)Get the ProcessServerJobDefinitionType by Association.RWIterable<ProcessServerJobDefinitionType>getProcessServerJobDefinitionTypes()Get anRWIterableover an ordered collection ofProcessServerJobDefinitionTypes.RWIterable<ProcessServerLoadFactor>getProcessServerLoadFactors()Get anRWIterableover an ordered collection ofProcessServerLoadFactors.ProcessServerParametergetProcessServerParameterByNameType(String name, ProcessServerParameterType type)Get the ProcessServerParameter by Name.RWIterable<ProcessServerParameter>getProcessServerParameters()Get anRWIterableover an ordered collection ofProcessServerParameters.ProcessServerResourcegetProcessServerResourceByResource(Resource resource)Get the ProcessServerResource by Association.RWIterable<ProcessServerResource>getProcessServerResources()Get anRWIterableover an ordered collection ofProcessServerResources.ProcessServerServicegetProcessServerServiceByService(Service service)Get the ProcessServerService by Association.RWIterable<ProcessServerService>getProcessServerServices()Get anRWIterableover an ordered collection ofProcessServerServices.ProcessServerStatusLoggetProcessServerStatusLogByCreationTime(DateTimeZone creationTime)Get the ProcessServerStatusLog by ProcessServerStatusCreationTime.RWIterable<ProcessServerStatusLog>getProcessServerStatusLogs()Get anRWIterableover an ordered collection ofProcessServerStatusLogs.QueueProvidergetQueueProviderByQueue(Queue queue)Get the QueueProvider by QueueProvider.RWIterable<QueueProvider>getQueueProviders()Get anRWIterableover an ordered collection ofQueueProviders.ProcessServerStatusgetStatus()Get the value for Status.Set<ProcessServerCheckStyle>getValidCheckStyles()Returns the ProcessServerCheckStyles that can be run for this process serverbooleanisAllowedJobDefinition(JobDefinition jobDefinition)Check a JobDefinition's compatibility (resources and type) with this ProcessServerbooleanisInclusive()Get the value for Inclusive.booleanisMonitorOnDashboard()Get the value for MonitorOnDashboard.booleanisOverloaded()Get the value for Overloaded.booleanisSecureGateway()Get the value for SecureGateway.booleanisSecureGatewayCandidate()Get the value for SecureGatewayCandidate.booleanisStartOnStartup()Get the value for StartOnStartup.voidrestart()Restart the ProcessServer, calling stop and then start.voidrestart(Long timeout)Restart the ProcessServer, calling stop and then start, waiting for the defined timeout before aborting.voidsetDefaultJobTimeZone(TimeZone newDefaultJobTimeZone)Set the value for DefaultJobTimeZone.voidsetExecutionSize(Long newExecutionSize)Set the value for ExecutionSize.voidsetLoadThreshold(Long newLoadThreshold)Set the value for LoadThreshold.voidsetMonitorOnDashboard(boolean newMonitorOnDashboard)Set the value for MonitorOnDashboard.voidsetSecureGatewayCandidate(boolean newSecureGatewayCandidate)Set the value for SecureGatewayCandidate.voidsetStartOnStartup(boolean newStartOnStartup)Set the value for StartOnStartup.voidstart()Start the ProcessServer.voidstop()Stop the ProcessServer normally.-
Methods inherited from interface com.redwood.scheduler.api.model.ApplicationObject
getParentApplication, setParentApplication
-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObject
createObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
-
Methods inherited from interface com.redwood.scheduler.api.model.PartitionableObject
createObjectTag, getEditablePartitions, getObjectTagByObjectTagDefinition, getObjectTags, getPartition, setPartition
-
Methods inherited from interface com.redwood.scheduler.api.model.Root
getCreationTime, getLastModificationTime, getLastModifierSubject
-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Field Detail
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()for "ProcessServer" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<ProcessServer> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
-
OSFAMILY_UNIX
static final String OSFAMILY_UNIX
The UNIX OS Family- See Also:
- Constant Field Values
-
OSFAMILY_WINDOWS
static final String OSFAMILY_WINDOWS
The Windows OS Family- See Also:
- Constant Field Values
-
OSFAMILY_VMS
static final String OSFAMILY_VMS
The VMS OS Family- See Also:
- Constant Field Values
-
OSFAMILY_AS400
static final String OSFAMILY_AS400
The AS/400 OS Family- See Also:
- Constant Field Values
-
RESTART_TIMEOUT
static final Long RESTART_TIMEOUT
The default timeout for restarting a Process Server
-
SEC_PRIV_CREATE
static final String SEC_PRIV_CREATE
This privilege can be granted at a group level.- See Also:
- Constant Field Values
-
SEC_PRIV_VIEW
static final String SEC_PRIV_VIEW
This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
-
SEC_PRIV_VIEWJOBS
static final String SEC_PRIV_VIEWJOBS
This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
-
SEC_PRIV_CONTROL
static final String SEC_PRIV_CONTROL
This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
-
SEC_PRIV_EDIT
static final String SEC_PRIV_EDIT
This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
-
SEC_PRIV_DELETE
static final String SEC_PRIV_DELETE
This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_CREATE
static final String SEC_RANK_CREATE
This rank is made of the following privileges: create- See Also:
- Constant Field Values
-
SEC_RANK_VIEW
static final String SEC_RANK_VIEW
This rank is made of the following privileges: view- See Also:
- Constant Field Values
-
SEC_RANK_VIEWJOBS
static final String SEC_RANK_VIEWJOBS
This rank is made of the following privileges: view , viewJobs- See Also:
- Constant Field Values
-
SEC_RANK_ADMINISTRATOR
static final String SEC_RANK_ADMINISTRATOR
This rank is made of the following privileges: view , viewJobs , control- See Also:
- Constant Field Values
-
SEC_RANK_EDIT
static final String SEC_RANK_EDIT
This rank is made of the following privileges: create , view , viewJobs , control , edit- See Also:
- Constant Field Values
-
SEC_RANK_DELETE
static final String SEC_RANK_DELETE
This rank is made of the following privileges: create , view , viewJobs , control , delete- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges: create , view , viewJobs , control , edit , delete- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatus
ProcessServerStatus getStatus()
Get the value for Status. (The process server status.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
isStartOnStartup
boolean isStartOnStartup()
Get the value for StartOnStartup. (Start this process server at system startup.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getExecutionSize
Long getExecutionSize()
Get the value for ExecutionSize. (ExecutionSize is the maximum number of concurrent executing jobs allowed for this ProcessServer. IfIncludeWaitingJobsistruethis includes jobs in Executing and Idle JobStatusStates. IfIncludeWaitingJobsisfalsethen this only includes the jobs in the Executing JobStatusState.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
isInclusive
boolean isInclusive()
Get the value for Inclusive. (DoesExecutionSizeinclude waiting jobs?)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getLoadThreshold
Long getLoadThreshold()
Get the value for LoadThreshold. (The maximum load the server can support before being marked as overloaded.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getLoad
Long getLoad()
Get the value for Load. (Get the current load of the Process Server. If the ProcessServer is running (in ProcessServerStatus.RUNNING || ProcessServerStatus.OVERLOADED), this aggregates the load of each LoadFactor, otherwise return null.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
isMonitorOnDashboard
boolean isMonitorOnDashboard()
Get the value for MonitorOnDashboard. (Should the process server be monitored on the dashboard? This is a calculated field, stored in an object tag, and may be deleted in the future.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
isOverloaded
boolean isOverloaded()
Get the value for Overloaded. (Return if the process server is currently overloaded or not.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
isSecureGatewayCandidate
boolean isSecureGatewayCandidate()
Get the value for SecureGatewayCandidate. (Is this process server allowed to be the Secure Gateway.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
isSecureGateway
boolean isSecureGateway()
Get the value for SecureGateway. (Return if the process server is the current Secure Gateway.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setStartOnStartup
void setStartOnStartup(boolean newStartOnStartup)
Set the value for StartOnStartup. (Start this process server at system startup.)- Parameters:
newStartOnStartup- the new value for StartOnStartup.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setExecutionSize
void setExecutionSize(Long newExecutionSize)
Set the value for ExecutionSize. (ExecutionSize is the maximum number of concurrent executing jobs allowed for this ProcessServer. IfIncludeWaitingJobsistruethis includes jobs in Executing and Idle JobStatusStates. IfIncludeWaitingJobsisfalsethen this only includes the jobs in the Executing JobStatusState.) This value is optional.- Parameters:
newExecutionSize- the new value for ExecutionSize.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setLoadThreshold
void setLoadThreshold(Long newLoadThreshold)
Set the value for LoadThreshold. (The maximum load the server can support before being marked as overloaded.) This value is optional.- Parameters:
newLoadThreshold- the new value for LoadThreshold.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setMonitorOnDashboard
void setMonitorOnDashboard(boolean newMonitorOnDashboard)
Set the value for MonitorOnDashboard. (Should the process server be monitored on the dashboard? This is a calculated field, stored in an object tag, and may be deleted in the future.)- Parameters:
newMonitorOnDashboard- the new value for MonitorOnDashboard.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setSecureGatewayCandidate
void setSecureGatewayCandidate(boolean newSecureGatewayCandidate)
Set the value for SecureGatewayCandidate. (Is this process server allowed to be the Secure Gateway.)- Parameters:
newSecureGatewayCandidate- the new value for SecureGatewayCandidate.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getParametersLOV
LOVCollection getParametersLOV(String query)
Get a List of Values (LOV) for process server parameter names, using the specified query (if present).- Parameters:
query- Part of the parameter name to query for. Treated as a case-insensitive substring.- Returns:
- The list of possible process server parameter names.
-
getBrowseableProcessServerService
ProcessServerService getBrowseableProcessServerService() throws com.redwood.scheduler.api.exception.AmbiguousBrowseableProcessServerServiceException
Get ProcessServerService which allows file browsing- Returns:
- The ProcessServerService which allows file browsing.
- Throws:
com.redwood.scheduler.api.exception.AmbiguousBrowseableProcessServerServiceException- ProcessServers can never have multiple browsable ProcessServerServices.
-
createProcessServerJobDefinitionTypesByOSFamily
void createProcessServerJobDefinitionTypesByOSFamily(String osFamily)
Create the default process servers by the OS Family- Parameters:
osFamily- The OS Family to create the ProcessServerJobDefinitionTypes for.
-
getMonitorRootPath
String getMonitorRootPath()
Get the root path label to use for the process server in the monitor tree. Depends on the configuration/Monitoring/MonitorRootPath registry key: (a) KeyValue = PartitionColonNonGlobal (default) -> if partition is GLOBAL return ProcessServerName else return Partition:ProcessServerName. (b) KeyValue = PartitionColonAlways -> Always return Partition:ProcessServerName. (c) KeyValue = PartitionPathAlways -> Always return Partition/ProcessServerName.- Returns:
- The String to use as the root path in the monitor tree
-
getValidCheckStyles
Set<ProcessServerCheckStyle> getValidCheckStyles()
Returns the ProcessServerCheckStyles that can be run for this process server- Returns:
- A Set of ProcessServerCheckStyle objects
-
restart
void restart(Long timeout)
Restart the ProcessServer, calling stop and then start, waiting for the defined timeout before aborting.- Parameters:
timeout- The timeout (milliseconds) before aborting the restart attempt.
-
isAllowedJobDefinition
boolean isAllowedJobDefinition(JobDefinition jobDefinition)
Check a JobDefinition's compatibility (resources and type) with this ProcessServer- Parameters:
jobDefinition- The JobDefinition to check- Returns:
- True for a compatible JobDefinition
-
start
void start()
Start the ProcessServer.
-
stop
void stop()
Stop the ProcessServer normally.
-
restart
void restart()
Restart the ProcessServer, calling stop and then start. This uses the default timeout ProcessServer.RESTART_TIMEOUT if it cannot be restarted.
-
getDefaultJobTimeZone
TimeZone getDefaultJobTimeZone()
Get the DefaultJobTimeZone.- Returns:
- DefaultJobTimeZone
- Throws:
com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
-
setDefaultJobTimeZone
void setDefaultJobTimeZone(TimeZone newDefaultJobTimeZone)
Set the value for DefaultJobTimeZone. This value is mandatory.- Parameters:
newDefaultJobTimeZone- is the object to set DefaultJobTimeZone to. Which TimeZone will be ascribed to the Jobs DateTimeZone fields by default @deprecated This relationship has been deprecated and should not be set. It is not used by the product If this isnull, then the object cannot be persisted.
-
getFileEventDefinitions
RWIterable<FileEventDefinition> getFileEventDefinitions()
Get anRWIterableover an ordered collection ofFileEventDefinitions. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Which process server should watch for a particular file event.- Specified by:
getFileEventDefinitionsin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofFileEventDefinitionobjects .
-
getProcessServerStatusLogs
RWIterable<ProcessServerStatusLog> getProcessServerStatusLogs()
Get anRWIterableover an ordered collection ofProcessServerStatusLogs. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. ProcessServerStatusLog logging the status of a ProcessServer at a point in time.- Specified by:
getProcessServerStatusLogsin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofProcessServerStatusLogobjects .
-
createProcessServerStatusLog
ProcessServerStatusLog createProcessServerStatusLog()
Create a newProcessServerStatusLoglinked to this object.- Returns:
- a new
ProcessServerStatusLog.
-
getProcessServerStatusLogByCreationTime
ProcessServerStatusLog getProcessServerStatusLogByCreationTime(DateTimeZone creationTime)
Get the ProcessServerStatusLog by ProcessServerStatusCreationTime.- Parameters:
creationTime-- Returns:
- the ProcessServerStatusLog, or
nullif it could not be found
-
getProcessServerChecks
RWIterable<ProcessServerCheck> getProcessServerChecks()
Get anRWIterableover an ordered collection ofProcessServerChecks. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The checks of this process server.- Specified by:
getProcessServerChecksin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofProcessServerCheckobjects .
-
createProcessServerCheck
ProcessServerCheck createProcessServerCheck()
Create a newProcessServerChecklinked to this object.- Returns:
- a new
ProcessServerCheck.
-
getProcessServerJobDefinitionTypes
RWIterable<ProcessServerJobDefinitionType> getProcessServerJobDefinitionTypes()
Get anRWIterableover an ordered collection ofProcessServerJobDefinitionTypes. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The process servers that this definition type can run on.- Specified by:
getProcessServerJobDefinitionTypesin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofProcessServerJobDefinitionTypeobjects .
-
createProcessServerJobDefinitionType
ProcessServerJobDefinitionType createProcessServerJobDefinitionType(JobDefinitionType newJobDefinitionType)
Create a newProcessServerJobDefinitionTypelinked to this object.- Parameters:
newJobDefinitionType- The other parent of theProcessServerJobDefinitionTypeJobDefinitionTypeassociation.- Returns:
- a new
ProcessServerJobDefinitionType.
-
getProcessServerJobDefinitionTypeByJobDefinitionType
ProcessServerJobDefinitionType getProcessServerJobDefinitionTypeByJobDefinitionType(JobDefinitionType jobDefinitionType)
Get the ProcessServerJobDefinitionType by Association.- Parameters:
jobDefinitionType-- Returns:
- the ProcessServerJobDefinitionType, or
nullif it could not be found
-
getProcessServerLoadFactors
RWIterable<ProcessServerLoadFactor> getProcessServerLoadFactors()
Get anRWIterableover an ordered collection ofProcessServerLoadFactors. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The load factors of this process server.- Specified by:
getProcessServerLoadFactorsin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofProcessServerLoadFactorobjects .
-
createProcessServerLoadFactor
ProcessServerLoadFactor createProcessServerLoadFactor()
Create a newProcessServerLoadFactorlinked to this object.- Returns:
- a new
ProcessServerLoadFactor.
-
getProcessServerParameters
RWIterable<ProcessServerParameter> getProcessServerParameters()
Get anRWIterableover an ordered collection ofProcessServerParameters. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The parameters of this process server.- Specified by:
getProcessServerParametersin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofProcessServerParameterobjects .
-
createProcessServerParameter
ProcessServerParameter createProcessServerParameter()
Create a newProcessServerParameterlinked to this object.- Returns:
- a new
ProcessServerParameter.
-
getProcessServerParameterByNameType
ProcessServerParameter getProcessServerParameterByNameType(String name, ProcessServerParameterType type)
Get the ProcessServerParameter by Name.- Parameters:
name-type-- Returns:
- the ProcessServerParameter, or
nullif it could not be found
-
getProcessServerResources
RWIterable<ProcessServerResource> getProcessServerResources()
Get anRWIterableover an ordered collection ofProcessServerResources. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The resources provided by this process server.- Specified by:
getProcessServerResourcesin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofProcessServerResourceobjects .
-
createProcessServerResource
ProcessServerResource createProcessServerResource(Resource newResource)
Create a newProcessServerResourcelinked to this object.- Parameters:
newResource- The other parent of theProcessServerResourceResourceassociation.- Returns:
- a new
ProcessServerResource.
-
getProcessServerResourceByResource
ProcessServerResource getProcessServerResourceByResource(Resource resource)
Get the ProcessServerResource by Association.- Parameters:
resource-- Returns:
- the ProcessServerResource, or
nullif it could not be found
-
getProcessServerServices
RWIterable<ProcessServerService> getProcessServerServices()
Get anRWIterableover an ordered collection ofProcessServerServices. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The services contained by this process server.- Specified by:
getProcessServerServicesin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofProcessServerServiceobjects .
-
createProcessServerService
ProcessServerService createProcessServerService(Service newService)
Create a newProcessServerServicelinked to this object.- Parameters:
newService- The other parent of theProcessServerServiceServiceassociation.- Returns:
- a new
ProcessServerService.
-
getProcessServerServiceByService
ProcessServerService getProcessServerServiceByService(Service service)
Get the ProcessServerService by Association.- Parameters:
service-- Returns:
- the ProcessServerService, or
nullif it could not be found
-
getQueueProviders
RWIterable<QueueProvider> getQueueProviders()
Get anRWIterableover an ordered collection ofQueueProviders. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The queues served by this process server.- Specified by:
getQueueProvidersin interfaceProcessServerComp- Returns:
- An
RWIterableover an ordered collection ofQueueProviderobjects .
-
createQueueProvider
QueueProvider createQueueProvider(Queue newQueue)
Create a newQueueProviderlinked to this object.- Parameters:
newQueue- The other parent of theQueueProviderQueueassociation.- Returns:
- a new
QueueProvider.
-
getQueueProviderByQueue
QueueProvider getQueueProviderByQueue(Queue queue)
Get the QueueProvider by QueueProvider.- Parameters:
queue-- Returns:
- the QueueProvider, or
nullif it could not be found
-
checkCreatePrivilege
RequiredPermission checkCreatePrivilege()
Check whether or not the create action can be performed on this object.- Returns:
- a
RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkViewPrivilege
RequiredPermission checkViewPrivilege()
Check whether or not the view action can be performed on this object.- Returns:
- a
RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkViewJobsPrivilege
RequiredPermission checkViewJobsPrivilege()
Check whether or not the viewJobs action can be performed on this object.- Returns:
- a
RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkControlPrivilege
RequiredPermission checkControlPrivilege()
Check whether or not the control action can be performed on this object.- Returns:
- a
RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkEditPrivilege
RequiredPermission checkEditPrivilege()
Check whether or not the edit action can be performed on this object.- Returns:
- a
RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkDeletePrivilege
RequiredPermission checkDeletePrivilege()
Check whether or not the delete action can be performed on this object.- Returns:
- a
RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
-