Interface BwHostMBean
- All Superinterfaces:
org.bedework.util.jmx.BaseMBean,org.bedework.util.jmx.ConfBaseMBean
- All Known Implementing Classes:
BwHost
public interface BwHostMBean
extends org.bedework.util.jmx.ConfBaseMBean
Service mbean for ischedule
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDkimPublicKey(String selector, String val) Add a dkim public keydisplay()getDkimPublicKey(String selector) Get a dkim public keyGet the iSchedule principal for the current entry.Get the iSchedule pw for the current entry.Get the iSchedule url for the current entry.booleanTrue if we delivered our public key for use for dkimintgetPort()Get the port for the current entry.booleanGet the secure flag for the current entry.voidremoveDkimPublicKey(String selector) Remove a dkim public key(Re)load the configurationsvoidsetDkimPublicKey(String selector, String val) Set a dkim public keyvoidSet the iSchedule principal for the current entry.voidsetISchedulePw(String val) Set the iSchedule pw for the current entry.voidsetIScheduleUrl(String val) Set the iSchedule url for the current entry.voidsetIScheduleUsePublicKey(boolean val) voidsetPort(int val) voidsetSecure(boolean val) Methods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stopMethods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, setStatus
-
Method Details
-
getHostname
String getHostname()- Returns:
- String current hostname
-
setPort
void setPort(int val) - Parameters:
val- the port for the current entry.
-
getPort
int getPort()Get the port for the current entry.- Returns:
- port
-
setSecure
void setSecure(boolean val) - Parameters:
val- the secure flag for the current entry.
-
getSecure
boolean getSecure()Get the secure flag for the current entry.- Returns:
- secure flag
-
setIScheduleUrl
Set the iSchedule url for the current entry.- Parameters:
val-
-
getIScheduleUrl
String getIScheduleUrl()Get the iSchedule url for the current entry.- Returns:
- iSchedule url
-
setISchedulePrincipal
Set the iSchedule principal for the current entry.- Parameters:
val-
-
getISchedulePrincipal
String getISchedulePrincipal()Get the iSchedule principal for the current entry.- Returns:
- iSchedule principal
-
setISchedulePw
Set the iSchedule pw for the current entry.- Parameters:
val-
-
getISchedulePw
String getISchedulePw()Get the iSchedule pw for the current entry.- Returns:
- iSchedule pw
-
addDkimPublicKey
Add a dkim public key- Parameters:
selector-val-
-
getDkimPublicKey
Get a dkim public key- Parameters:
selector-- Returns:
- value or null
-
removeDkimPublicKey
Remove a dkim public key- Parameters:
selector-
-
setDkimPublicKey
Set a dkim public key- Parameters:
selector-val-
-
getDkimPublicKeys
- Returns:
- String val
-
setIScheduleUsePublicKey
void setIScheduleUsePublicKey(boolean val) - Parameters:
val- boolean
-
getIScheduleUsePublicKey
boolean getIScheduleUsePublicKey()True if we delivered our public key for use for dkim- Returns:
- String
-
display
String display()- Returns:
- host information
-
saveConfig
String saveConfig()(Re)load the configurations- Specified by:
saveConfigin interfaceorg.bedework.util.jmx.ConfBaseMBean- Returns:
- status
-