com.zeroturnaround.liverebel.api.impl
Class ManagedConfOperationsImpl
java.lang.Object
com.zeroturnaround.liverebel.api.impl.ManagedConfOperationsImpl
- All Implemented Interfaces:
- ManagedConfGetOperations, ManagedConfOperations, ManagedConfSetOperations
public class ManagedConfOperationsImpl
- extends Object
- implements ManagedConfOperations
Implements operations related to managed configuration
- Author:
- Ats Uiboupin
|
Method Summary |
String |
decryptProperty(String encryptedProperty)
|
String |
encryptProperty(String plainProperty)
|
String |
getGlobalConfRepoUrl(boolean secure)
|
com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO |
getPropertyForGlobal(String propName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
|
com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO |
getPropertyForServer(String propName,
String serverName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
|
com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO |
getPropertyForServerGroup(String propName,
Long serverGroupId,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
|
com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO |
getPropertyForServerGroup(String propName,
String serverGroupName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
|
com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO |
getPropertyForUngroupedServers(String propName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
|
String |
getServerGroupConfRepoUrl(boolean secure,
Long groupId)
|
String |
getUngroupedServersConfRepoUrl(boolean secure)
|
void |
setPropertyForGlobal(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
|
void |
setPropertyForGroup(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
Long serverGroupId)
|
void |
setPropertyForGroup(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
String groupName)
|
void |
setPropertyForServer(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
String serverName)
|
void |
setPropertyForUngrouped(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedConfOperationsImpl
public ManagedConfOperationsImpl(RestConnection con,
JsonParser parser)
setPropertyForGlobal
public void setPropertyForGlobal(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
- Specified by:
setPropertyForGlobal in interface ManagedConfSetOperations
setPropertyForUngrouped
public void setPropertyForUngrouped(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
- Specified by:
setPropertyForUngrouped in interface ManagedConfSetOperations
setPropertyForGroup
public void setPropertyForGroup(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
Long serverGroupId)
- Specified by:
setPropertyForGroup in interface ManagedConfSetOperations
setPropertyForGroup
public void setPropertyForGroup(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
String groupName)
- Specified by:
setPropertyForGroup in interface ManagedConfSetOperations
setPropertyForServer
public void setPropertyForServer(String propName,
String value,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
String serverName)
- Specified by:
setPropertyForServer in interface ManagedConfSetOperations
getPropertyForGlobal
public com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO getPropertyForGlobal(String propName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
- Specified by:
getPropertyForGlobal in interface ManagedConfGetOperations
getPropertyForUngroupedServers
public com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO getPropertyForUngroupedServers(String propName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
- Specified by:
getPropertyForUngroupedServers in interface ManagedConfGetOperations
getPropertyForServerGroup
public com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO getPropertyForServerGroup(String propName,
Long serverGroupId,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
- Specified by:
getPropertyForServerGroup in interface ManagedConfGetOperations
getPropertyForServerGroup
public com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO getPropertyForServerGroup(String propName,
String serverGroupName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
- Specified by:
getPropertyForServerGroup in interface ManagedConfGetOperations
getPropertyForServer
public com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO getPropertyForServer(String propName,
String serverName,
com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
- Specified by:
getPropertyForServer in interface ManagedConfGetOperations
encryptProperty
public String encryptProperty(String plainProperty)
- Specified by:
encryptProperty in interface ManagedConfSetOperations
decryptProperty
public String decryptProperty(String encryptedProperty)
- Specified by:
decryptProperty in interface ManagedConfGetOperations
getGlobalConfRepoUrl
public String getGlobalConfRepoUrl(boolean secure)
- Specified by:
getGlobalConfRepoUrl in interface ManagedConfGetOperations
- Parameters:
secure - - if true, https is used, otherwise http is used in url
- Returns:
- url of the global managed configuration repository
getUngroupedServersConfRepoUrl
public String getUngroupedServersConfRepoUrl(boolean secure)
- Specified by:
getUngroupedServersConfRepoUrl in interface ManagedConfGetOperations
- Returns:
- url of the ungrouped servers managed configuration repository
getServerGroupConfRepoUrl
public String getServerGroupConfRepoUrl(boolean secure,
Long groupId)
- Specified by:
getServerGroupConfRepoUrl in interface ManagedConfGetOperations
- Returns:
- url of the server group managed configuration repository
Copyright © 2013. All Rights Reserved.