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 String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "ProcessServer" objects.static String
OSFAMILY_AS400
The AS/400 OS Familystatic String
OSFAMILY_UNIX
The UNIX OS Familystatic String
OSFAMILY_VMS
The VMS OS Familystatic String
OSFAMILY_WINDOWS
The Windows OS Familystatic Long
RESTART_TIMEOUT
The default timeout for restarting a Process Serverstatic String
SEC_PRIV_CONTROL
This privilege can be granted at a group level.static String
SEC_PRIV_CREATE
This privilege can be granted at a group level.static String
SEC_PRIV_DELETE
This privilege can be granted at a group level.static String
SEC_PRIV_EDIT
This privilege can be granted at a group level.static String
SEC_PRIV_VIEW
This privilege can be granted at a group level.static String
SEC_PRIV_VIEWJOBS
This privilege can be granted at a group level.static String
SEC_RANK_ADMINISTRATOR
This rank is made of the following privileges: view , viewJobs , controlstatic String
SEC_RANK_ALL
This rank is made of the following privileges: create , view , viewJobs , control , edit , deletestatic String
SEC_RANK_CREATE
This rank is made of the following privileges: createstatic String
SEC_RANK_DELETE
This rank is made of the following privileges: create , view , viewJobs , control , deletestatic String
SEC_RANK_EDIT
This rank is made of the following privileges: create , view , viewJobs , control , editstatic String
SEC_RANK_NONE
This rank has no privileges assigned to it.static String
SEC_RANK_VIEW
This rank is made of the following privileges: viewstatic String
SEC_RANK_VIEWJOBS
This rank is made of the following privileges: view , viewJobsstatic QueryObjectType<ProcessServer>
TYPE
Type 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 RequiredPermission
checkControlPrivilege()
Check whether or not the control action can be performed on this object.RequiredPermission
checkCreatePrivilege()
Check whether or not the create action can be performed on this object.RequiredPermission
checkDeletePrivilege()
Check whether or not the delete action can be performed on this object.RequiredPermission
checkEditPrivilege()
Check whether or not the edit action can be performed on this object.RequiredPermission
checkViewJobsPrivilege()
Check whether or not the viewJobs action can be performed on this object.RequiredPermission
checkViewPrivilege()
Check whether or not the view action can be performed on this object.ProcessServerCheck
createProcessServerCheck()
Create a newProcessServerCheck
linked to this object.ProcessServerJobDefinitionType
createProcessServerJobDefinitionType(JobDefinitionType newJobDefinitionType)
Create a newProcessServerJobDefinitionType
linked to this object.void
createProcessServerJobDefinitionTypesByOSFamily(String osFamily)
Create the default process servers by the OS FamilyProcessServerLoadFactor
createProcessServerLoadFactor()
Create a newProcessServerLoadFactor
linked to this object.ProcessServerParameter
createProcessServerParameter()
Create a newProcessServerParameter
linked to this object.ProcessServerResource
createProcessServerResource(Resource newResource)
Create a newProcessServerResource
linked to this object.ProcessServerService
createProcessServerService(Service newService)
Create a newProcessServerService
linked to this object.ProcessServerStatusLog
createProcessServerStatusLog()
Create a newProcessServerStatusLog
linked to this object.QueueProvider
createQueueProvider(Queue newQueue)
Create a newQueueProvider
linked to this object.ProcessServerService
getBrowseableProcessServerService()
Get ProcessServerService which allows file browsingTimeZone
getDefaultJobTimeZone()
Get the DefaultJobTimeZone.Long
getExecutionSize()
Get the value for ExecutionSize.RWIterable<FileEventDefinition>
getFileEventDefinitions()
Get anRWIterable
over an ordered collection ofFileEventDefinitions
.Long
getLoad()
Get the value for Load.Long
getLoadThreshold()
Get the value for LoadThreshold.String
getMonitorRootPath()
Get the root path label to use for the process server in the monitor tree.LOVCollection
getParametersLOV(String query)
Get a List of Values (LOV) for process server parameter names, using the specified query (if present).RWIterable<ProcessServerCheck>
getProcessServerChecks()
Get anRWIterable
over an ordered collection ofProcessServerChecks
.ProcessServerJobDefinitionType
getProcessServerJobDefinitionTypeByJobDefinitionType(JobDefinitionType jobDefinitionType)
Get the ProcessServerJobDefinitionType by Association.RWIterable<ProcessServerJobDefinitionType>
getProcessServerJobDefinitionTypes()
Get anRWIterable
over an ordered collection ofProcessServerJobDefinitionTypes
.RWIterable<ProcessServerLoadFactor>
getProcessServerLoadFactors()
Get anRWIterable
over an ordered collection ofProcessServerLoadFactors
.ProcessServerParameter
getProcessServerParameterByNameType(String name, ProcessServerParameterType type)
Get the ProcessServerParameter by Name.RWIterable<ProcessServerParameter>
getProcessServerParameters()
Get anRWIterable
over an ordered collection ofProcessServerParameters
.ProcessServerResource
getProcessServerResourceByResource(Resource resource)
Get the ProcessServerResource by Association.RWIterable<ProcessServerResource>
getProcessServerResources()
Get anRWIterable
over an ordered collection ofProcessServerResources
.ProcessServerService
getProcessServerServiceByService(Service service)
Get the ProcessServerService by Association.RWIterable<ProcessServerService>
getProcessServerServices()
Get anRWIterable
over an ordered collection ofProcessServerServices
.ProcessServerStatusLog
getProcessServerStatusLogByCreationTime(DateTimeZone creationTime)
Get the ProcessServerStatusLog by ProcessServerStatusCreationTime.RWIterable<ProcessServerStatusLog>
getProcessServerStatusLogs()
Get anRWIterable
over an ordered collection ofProcessServerStatusLogs
.QueueProvider
getQueueProviderByQueue(Queue queue)
Get the QueueProvider by QueueProvider.RWIterable<QueueProvider>
getQueueProviders()
Get anRWIterable
over an ordered collection ofQueueProviders
.ProcessServerStatus
getStatus()
Get the value for Status.Set<ProcessServerCheckStyle>
getValidCheckStyles()
Returns the ProcessServerCheckStyles that can be run for this process serverboolean
isAllowedJobDefinition(JobDefinition jobDefinition)
Check a JobDefinition's compatibility (resources and type) with this ProcessServerboolean
isInclusive()
Get the value for Inclusive.boolean
isMonitorOnDashboard()
Get the value for MonitorOnDashboard.boolean
isOverloaded()
Get the value for Overloaded.boolean
isSecureGateway()
Get the value for SecureGateway.boolean
isSecureGatewayCandidate()
Get the value for SecureGatewayCandidate.boolean
isStartOnStartup()
Get the value for StartOnStartup.void
restart()
Restart the ProcessServer, calling stop and then start.void
restart(Long timeout)
Restart the ProcessServer, calling stop and then start, waiting for the defined timeout before aborting.void
setDefaultJobTimeZone(TimeZone newDefaultJobTimeZone)
Set the value for DefaultJobTimeZone.void
setExecutionSize(Long newExecutionSize)
Set the value for ExecutionSize.void
setLoadThreshold(Long newLoadThreshold)
Set the value for LoadThreshold.void
setMonitorOnDashboard(boolean newMonitorOnDashboard)
Set the value for MonitorOnDashboard.void
setSecureGatewayCandidate(boolean newSecureGatewayCandidate)
Set the value for SecureGatewayCandidate.void
setStartOnStartup(boolean newStartOnStartup)
Set the value for StartOnStartup.void
start()
Start the ProcessServer.void
stop()
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 benull
if 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. IfIncludeWaitingJobs
istrue
this includes jobs in Executing and Idle JobStatusStates. IfIncludeWaitingJobs
isfalse
then 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. (DoesExecutionSize
include 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 benull
if 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. IfIncludeWaitingJobs
istrue
this includes jobs in Executing and Idle JobStatusStates. IfIncludeWaitingJobs
isfalse
then 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 anRWIterable
over 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:
getFileEventDefinitions
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofFileEventDefinition
objects .
-
getProcessServerStatusLogs
RWIterable<ProcessServerStatusLog> getProcessServerStatusLogs()
Get anRWIterable
over 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:
getProcessServerStatusLogs
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessServerStatusLog
objects .
-
createProcessServerStatusLog
ProcessServerStatusLog createProcessServerStatusLog()
Create a newProcessServerStatusLog
linked to this object.- Returns:
- a new
ProcessServerStatusLog
.
-
getProcessServerStatusLogByCreationTime
ProcessServerStatusLog getProcessServerStatusLogByCreationTime(DateTimeZone creationTime)
Get the ProcessServerStatusLog by ProcessServerStatusCreationTime.- Parameters:
creationTime
-- Returns:
- the ProcessServerStatusLog, or
null
if it could not be found
-
getProcessServerChecks
RWIterable<ProcessServerCheck> getProcessServerChecks()
Get anRWIterable
over 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:
getProcessServerChecks
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessServerCheck
objects .
-
createProcessServerCheck
ProcessServerCheck createProcessServerCheck()
Create a newProcessServerCheck
linked to this object.- Returns:
- a new
ProcessServerCheck
.
-
getProcessServerJobDefinitionTypes
RWIterable<ProcessServerJobDefinitionType> getProcessServerJobDefinitionTypes()
Get anRWIterable
over 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:
getProcessServerJobDefinitionTypes
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessServerJobDefinitionType
objects .
-
createProcessServerJobDefinitionType
ProcessServerJobDefinitionType createProcessServerJobDefinitionType(JobDefinitionType newJobDefinitionType)
Create a newProcessServerJobDefinitionType
linked to this object.- Parameters:
newJobDefinitionType
- The other parent of theProcessServerJobDefinitionTypeJobDefinitionType
association.- Returns:
- a new
ProcessServerJobDefinitionType
.
-
getProcessServerJobDefinitionTypeByJobDefinitionType
ProcessServerJobDefinitionType getProcessServerJobDefinitionTypeByJobDefinitionType(JobDefinitionType jobDefinitionType)
Get the ProcessServerJobDefinitionType by Association.- Parameters:
jobDefinitionType
-- Returns:
- the ProcessServerJobDefinitionType, or
null
if it could not be found
-
getProcessServerLoadFactors
RWIterable<ProcessServerLoadFactor> getProcessServerLoadFactors()
Get anRWIterable
over 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:
getProcessServerLoadFactors
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessServerLoadFactor
objects .
-
createProcessServerLoadFactor
ProcessServerLoadFactor createProcessServerLoadFactor()
Create a newProcessServerLoadFactor
linked to this object.- Returns:
- a new
ProcessServerLoadFactor
.
-
getProcessServerParameters
RWIterable<ProcessServerParameter> getProcessServerParameters()
Get anRWIterable
over 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:
getProcessServerParameters
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessServerParameter
objects .
-
createProcessServerParameter
ProcessServerParameter createProcessServerParameter()
Create a newProcessServerParameter
linked 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
null
if it could not be found
-
getProcessServerResources
RWIterable<ProcessServerResource> getProcessServerResources()
Get anRWIterable
over 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:
getProcessServerResources
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessServerResource
objects .
-
createProcessServerResource
ProcessServerResource createProcessServerResource(Resource newResource)
Create a newProcessServerResource
linked to this object.- Parameters:
newResource
- The other parent of theProcessServerResourceResource
association.- Returns:
- a new
ProcessServerResource
.
-
getProcessServerResourceByResource
ProcessServerResource getProcessServerResourceByResource(Resource resource)
Get the ProcessServerResource by Association.- Parameters:
resource
-- Returns:
- the ProcessServerResource, or
null
if it could not be found
-
getProcessServerServices
RWIterable<ProcessServerService> getProcessServerServices()
Get anRWIterable
over 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:
getProcessServerServices
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessServerService
objects .
-
createProcessServerService
ProcessServerService createProcessServerService(Service newService)
Create a newProcessServerService
linked to this object.- Parameters:
newService
- The other parent of theProcessServerServiceService
association.- Returns:
- a new
ProcessServerService
.
-
getProcessServerServiceByService
ProcessServerService getProcessServerServiceByService(Service service)
Get the ProcessServerService by Association.- Parameters:
service
-- Returns:
- the ProcessServerService, or
null
if it could not be found
-
getQueueProviders
RWIterable<QueueProvider> getQueueProviders()
Get anRWIterable
over 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:
getQueueProviders
in interfaceProcessServerComp
- Returns:
- An
RWIterable
over an ordered collection ofQueueProvider
objects .
-
createQueueProvider
QueueProvider createQueueProvider(Queue newQueue)
Create a newQueueProvider
linked to this object.- Parameters:
newQueue
- The other parent of theQueueProviderQueue
association.- Returns:
- a new
QueueProvider
.
-
getQueueProviderByQueue
QueueProvider getQueueProviderByQueue(Queue queue)
Get the QueueProvider by QueueProvider.- Parameters:
queue
-- Returns:
- the QueueProvider, or
null
if it could not be found
-
checkCreatePrivilege
RequiredPermission checkCreatePrivilege()
Check whether or not the create action can be performed on this object.- Returns:
- a
RequiredPermission
instance 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
RequiredPermission
instance 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
RequiredPermission
instance 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
RequiredPermission
instance 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
RequiredPermission
instance 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
RequiredPermission
instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
-