|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.management.ManagementRESTServiceConfiguration
public class ManagementRESTServiceConfiguration
Configuration class of management REST services.
Field Summary | |
---|---|
static String |
DEFAULT_BIND
Default bind value. |
static int |
DEFAULT_SECURITY_SVC_TIMEOUT
Default timeout for the connection to the configured security service |
Constructor Summary | |
---|---|
ManagementRESTServiceConfiguration()
|
Method Summary | |
---|---|
String |
getBind()
Get the host:port pair to which the REST server should be bound. |
String |
getHost()
Get the host part of the host:port pair to which the REST server should be bound. |
int |
getPort()
Get the port part of the host:port pair to which the REST server should be bound. |
String |
getSecurityServiceLocation()
Returns the security service location required for trusted identity assertion to the embedded REST management service. |
int |
getSecurityServiceTimeout()
Returns the connection/read timeout value for the security service in milliseconds. |
boolean |
isEnabled()
Check if the REST services should be enabled or not. |
void |
setBind(String bind)
Set the host:port pair to which the REST server should be bound. |
void |
setEnabled(boolean enabled)
Set that the REST services should be enabled or disabled. |
void |
setSecurityServiceLocation(String securityServiceURL)
Sets the security service location required for trusted identity assertion to the embedded REST management service. |
void |
setSecurityServiceTimeout(int securityServiceTimeout)
Sets the connection/read timeout value for the security service in milliseconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_BIND
public static final int DEFAULT_SECURITY_SVC_TIMEOUT
Constructor Detail |
---|
public ManagementRESTServiceConfiguration()
Method Detail |
---|
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- true if the REST services should be enabled.public String getSecurityServiceLocation()
public void setSecurityServiceLocation(String securityServiceURL)
securityServiceURL
- a string representing the URL of the security service.public int getSecurityServiceTimeout()
public void setSecurityServiceTimeout(int securityServiceTimeout)
securityServiceTimeout
- milliseconds to timeoutpublic String getBind()
public String getHost()
public int getPort()
public void setBind(String bind)
bind
- host:port pair to which the REST server should be bound.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |