Admin.AdminDescription, Admin.StringList, Admin.URList, Admin.UserDesc, Admin.UserList
Constructor and Description |
---|
AdminBean() |
Modifier and Type | Method and Description |
---|---|
Admin.StringList |
currentRuns()
The property for the list of IDs of current runs.
|
Admin.StringList |
factoryProcessMapping()
The property for the mapping of usernames to factory process handles.
|
boolean |
getAllowNew()
Get whether to allow new workflow runs to be created.
|
int |
getDefaultLifetime()
Get the default lifetime of workflow runs.
|
Admin.AdminDescription |
getDescription(javax.ws.rs.core.UriInfo ui)
Get a description of the administration interface.
|
String |
getExecuteWorkflowScript()
Get the full pathname of the executeWorkflow.sh file.
|
Admin.StringList |
getExtraArguments()
Get the extra arguments to be supplied to Java subprocesses.
|
String |
getGenerateProvenance()
Do we turn on the generate provenance option by default?
|
String |
getJavaBinary()
Get the Java binary to be used for execution of subprocesses.
|
boolean |
getLogFaults()
Get whether to log the user-directed faults.
|
boolean |
getLogWorkflows()
Get whether to log the workflows submitted.
|
int |
getOperatingLimit()
Get the maximum number of simultaneous executing runs.
|
Admin.StringList |
getPermittedWorkflowURIs()
What are the current list of workflow URIs that may be started? Empty
means allow any, including user-supplied workflows.
|
int |
getRegistrationPollMillis()
Get the interval between checks for registration of the forker process.
|
int |
getRegistrationWaitSeconds()
Get the total duration of time to wait for the start of the forker
process.
|
String |
getRegistryHost()
Get the location of the RMI registry.
|
String |
getRegistryJar()
Get the full pathname of the RMI registry's JAR.
|
int |
getRegistryPort()
Get the port of the RMI registry.
|
protected byte[] |
getResource(String name) |
String |
getRunasPasswordFile()
Get the full pathname of the file containing the impersonation
credentials for the forker process.
|
int |
getRunLimit()
Get the maximum number of simultaneous runs.
|
String |
getServerForkerJar()
Get the full pathname of the forker's JAR.
|
String |
getServerWorkerJar()
Get the full pathname of the worker JAR file.
|
javax.ws.rs.core.Response |
getStaticResource(String file)
Gets support resources for the administration user interface.
|
String |
getURFile()
Get what file to dump usage records to.
|
javax.ws.rs.core.Response |
getUserInterface()
Get a simple administration user interface.
|
int |
invokeCount()
The property for the number of times the service methods have been
invoked.
|
Integer |
lastExitCode()
The property for the last exit code of the forker process.
|
int |
operatingCount()
The property for the number of runs that are currently running.
|
javax.ws.rs.core.Response |
optionsAllowNew()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsCurrentRuns()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsDefaultLifetime()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsExecuteWorkflowScript()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsExtraArguments()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsFactoryProcessMapping()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsGenerateProvenance()
Do we turn on the generate provenance option by default?
|
javax.ws.rs.core.Response |
optionsInvokationCount()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsJavaBinary()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsLastExitCode()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsLogFaults()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsLogWorkflows()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsOperatingCount()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsOperatingLimit()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsPermittedWorkflowURIs()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRegistrationPollMillis()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRegistrationWaitSeconds()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRegistryHost()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRegistryJar()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRegistryPort()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRoot()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRunasPasswordFile()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRunCount()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsRunLimit()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsServerForkerJar()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsServerWorkerJar()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsStartupTime()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsURFile()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsUsageRecords()
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsUser(String username)
What HTTP methods may we use?
|
javax.ws.rs.core.Response |
optionsUsers()
What HTTP methods may we use?
|
int |
runCount()
The property for the number of runs that are currently in existence.
|
void |
setAdminHtmlFile(String filename) |
boolean |
setAllowNew(boolean newValue)
Set whether to allow new workflow runs to be created.
|
void |
setCounter(InvocationCounter counter) |
int |
setDefaultLifetime(int newValue)
Set the default lifetime of workflow runs.
|
String |
setExecuteWorkflowScript(String newValue)
Set the full pathname of the executeWorkflow.sh file.
|
Admin.StringList |
setExtraArguments(Admin.StringList newValue)
Set the extra arguments to be supplied to Java subprocesses.
|
void |
setFactory(ConfigurableRunFactory factory) |
String |
setGenerateProvenance(String newValue)
Do we turn on the generate provenance option by default?
|
String |
setJavaBinary(String newValue)
Set the Java binary to be used for execution of subprocesses.
|
void |
setLocalWorkerModel(WorkerModel worker) |
boolean |
setLogFaults(boolean newValue)
Set whether to log the user-directed faults.
|
boolean |
setLogWorkflows(boolean newValue)
Set whether to log the workflows submitted.
|
int |
setOperatingLimit(int operatingLimit)
Set the maximum number of simultaneous executing runs.
|
Admin.StringList |
setPermittedWorkflowURIs(Admin.StringList permitted)
What are the current list of workflow URIs that may be started? Empty
means allow any, including user-supplied workflows.
|
int |
setRegistrationPollMillis(int newValue)
Set the interval between checks for registration of the forker process.
|
int |
setRegistrationWaitSeconds(int newValue)
Set the total duration of time to wait for the start of the forker
process.
|
String |
setRegistryHost(String newValue)
Set the location of the RMI registry.
|
String |
setRegistryJar(String registryJar)
Set the full pathname of the RMI registry's JAR.
|
int |
setRegistryPort(int newValue)
Set the port of the RMI registry.
|
void |
setResourceRoot(String root) |
String |
setRunasPasswordFile(String newValue)
Set the full pathname of the file containing the impersonation
credentials for the forker process.
|
void |
setRunDB(RunDBSupport runDB) |
int |
setRunLimit(int newValue)
Set the maximum number of simultaneous runs.
|
String |
setServerForkerJar(String newValue)
Set the full pathname of the forker's JAR.
|
String |
setServerWorkerJar(String newValue)
Set the full pathname of the worker JAR file.
|
void |
setState(ManagementModel state) |
String |
setURFile(String newValue)
Set what file to dump usage records to.
|
void |
setUsageRecords(UsageRecordRecorder usageRecords) |
void |
setUserStore(UserStoreAPI userStore) |
int |
startupTime()
The property for the length of time it took to start the forker.
|
Admin.URList |
usageRecords()
The property for the list of usage records collected.
|
Admin.UserDesc |
user(String username) |
javax.ws.rs.core.Response |
useradd(Admin.UserDesc userdesc,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
userdel(String username) |
Admin.UserList |
users(javax.ws.rs.core.UriInfo ui) |
Admin.UserDesc |
userset(String username,
Admin.UserDesc userdesc) |
public void setState(ManagementModel state)
public void setCounter(InvocationCounter counter)
public void setRunDB(RunDBSupport runDB)
public void setFactory(ConfigurableRunFactory factory)
public void setUsageRecords(UsageRecordRecorder usageRecords)
public void setUserStore(UserStoreAPI userStore)
public void setLocalWorkerModel(WorkerModel worker)
public void setAdminHtmlFile(String filename)
public void setResourceRoot(String root)
protected byte[] getResource(String name) throws IOException
IOException
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response getUserInterface() throws IOException
Admin
getUserInterface
in interface Admin
IOException
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response getStaticResource(String file) throws IOException
Admin
getStaticResource
in interface Admin
file
- The name of the static resource to provide.IOException
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.AdminDescription getDescription(javax.ws.rs.core.UriInfo ui)
Admin
getDescription
in interface Admin
ui
- What URI was used to access this resource?@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsRoot()
Admin
optionsRoot
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public boolean getAllowNew()
Admin
getAllowNew
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public boolean setAllowNew(boolean newValue)
Admin
setAllowNew
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsAllowNew()
Admin
optionsAllowNew
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public boolean getLogWorkflows()
Admin
getLogWorkflows
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public boolean setLogWorkflows(boolean newValue)
Admin
setLogWorkflows
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsLogWorkflows()
Admin
optionsLogWorkflows
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public boolean getLogFaults()
Admin
getLogFaults
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public boolean setLogFaults(boolean newValue)
Admin
setLogFaults
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsLogFaults()
Admin
optionsLogFaults
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getURFile()
Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setURFile(String newValue)
Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsURFile()
Admin
optionsURFile
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int invokeCount()
Admin
invokeCount
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsInvokationCount()
Admin
optionsInvokationCount
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int runCount()
Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsRunCount()
Admin
optionsRunCount
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getRegistryHost()
Admin
getRegistryHost
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setRegistryHost(String newValue)
Admin
setRegistryHost
in interface Admin
newValue
- What to set it to.public javax.ws.rs.core.Response optionsRegistryHost()
Admin
optionsRegistryHost
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int getRegistryPort()
Admin
getRegistryPort
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int setRegistryPort(int newValue)
Admin
setRegistryPort
in interface Admin
newValue
- What to set it to.public javax.ws.rs.core.Response optionsRegistryPort()
Admin
optionsRegistryPort
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getRegistryJar()
Admin
getRegistryJar
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setRegistryJar(String registryJar)
Admin
setRegistryJar
in interface Admin
registryJar
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsRegistryJar()
Admin
optionsRegistryJar
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int getRunLimit()
Admin
getRunLimit
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int setRunLimit(int newValue)
Admin
setRunLimit
in interface Admin
newValue
- What to set it to.public javax.ws.rs.core.Response optionsRunLimit()
Admin
optionsRunLimit
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int getDefaultLifetime()
Admin
getDefaultLifetime
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int setDefaultLifetime(int newValue)
Admin
setDefaultLifetime
in interface Admin
newValue
- What to set it to.public javax.ws.rs.core.Response optionsDefaultLifetime()
Admin
optionsDefaultLifetime
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.StringList currentRuns()
Admin
currentRuns
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsCurrentRuns()
Admin
optionsCurrentRuns
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getJavaBinary()
Admin
getJavaBinary
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setJavaBinary(String newValue)
Admin
setJavaBinary
in interface Admin
newValue
- What to set it to.public javax.ws.rs.core.Response optionsJavaBinary()
Admin
optionsJavaBinary
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.StringList getExtraArguments()
Admin
getExtraArguments
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.StringList setExtraArguments(Admin.StringList newValue)
Admin
setExtraArguments
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsExtraArguments()
Admin
optionsExtraArguments
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getServerWorkerJar()
Admin
getServerWorkerJar
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setServerWorkerJar(String newValue)
Admin
setServerWorkerJar
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsServerWorkerJar()
Admin
optionsServerWorkerJar
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getExecuteWorkflowScript()
Admin
getExecuteWorkflowScript
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setExecuteWorkflowScript(String newValue)
Admin
setExecuteWorkflowScript
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsExecuteWorkflowScript()
Admin
optionsExecuteWorkflowScript
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int getRegistrationWaitSeconds()
Admin
getRegistrationWaitSeconds
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int setRegistrationWaitSeconds(int newValue)
Admin
setRegistrationWaitSeconds
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsRegistrationWaitSeconds()
Admin
optionsRegistrationWaitSeconds
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int getRegistrationPollMillis()
Admin
getRegistrationPollMillis
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int setRegistrationPollMillis(int newValue)
Admin
setRegistrationPollMillis
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsRegistrationPollMillis()
Admin
optionsRegistrationPollMillis
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getRunasPasswordFile()
Admin
getRunasPasswordFile
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setRunasPasswordFile(String newValue)
Admin
setRunasPasswordFile
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsRunasPasswordFile()
Admin
optionsRunasPasswordFile
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getServerForkerJar()
Admin
getServerForkerJar
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setServerForkerJar(String newValue)
Admin
setServerForkerJar
in interface Admin
newValue
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsServerForkerJar()
Admin
optionsServerForkerJar
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int startupTime()
Admin
startupTime
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsStartupTime()
Admin
optionsStartupTime
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Integer lastExitCode()
Admin
lastExitCode
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsLastExitCode()
Admin
optionsLastExitCode
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.StringList factoryProcessMapping()
Admin
factoryProcessMapping
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsFactoryProcessMapping()
Admin
optionsFactoryProcessMapping
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.URList usageRecords()
Admin
usageRecords
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsUsageRecords()
Admin
optionsUsageRecords
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.UserList users(javax.ws.rs.core.UriInfo ui)
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsUsers()
Admin
optionsUsers
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.UserDesc user(String username)
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsUser(String username)
Admin
optionsUser
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response useradd(Admin.UserDesc userdesc, javax.ws.rs.core.UriInfo ui)
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.UserDesc userset(String username, Admin.UserDesc userdesc)
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response userdel(String username)
@RolesAllowed(value="ROLE_tavernasuperuser") public int operatingCount()
Admin
operatingCount
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsOperatingCount()
Admin
optionsOperatingCount
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int getOperatingLimit()
Admin
getOperatingLimit
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public int setOperatingLimit(int operatingLimit)
Admin
setOperatingLimit
in interface Admin
operatingLimit
- What to set it to.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsOperatingLimit()
Admin
optionsOperatingLimit
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.StringList getPermittedWorkflowURIs()
Admin
getPermittedWorkflowURIs
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public Admin.StringList setPermittedWorkflowURIs(Admin.StringList permitted)
Admin
setPermittedWorkflowURIs
in interface Admin
permitted
- List of URIs, encoded as strings.@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsPermittedWorkflowURIs()
Admin
optionsPermittedWorkflowURIs
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String getGenerateProvenance()
Admin
getGenerateProvenance
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public String setGenerateProvenance(String newValue)
Admin
setGenerateProvenance
in interface Admin
@RolesAllowed(value="ROLE_tavernasuperuser") public javax.ws.rs.core.Response optionsGenerateProvenance()
Admin
optionsGenerateProvenance
in interface Admin
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.