com.zeroturnaround.liverebel.api.impl
Class ManagedConfOperationsImpl

java.lang.Object
  extended by com.zeroturnaround.liverebel.api.impl.ManagedConfOperationsImpl
All Implemented Interfaces:
ManagedConfOperations

public class ManagedConfOperationsImpl
extends Object
implements ManagedConfOperations

Implements operations related to managed configuration

Author:
Ats Uiboupin

Constructor Summary
ManagedConfOperationsImpl(RestConnection con, JsonParser parser)
           
 
Method Summary
 String decryptProperty(String encryptedProperty)
           
 String encryptProperty(String plainProperty)
           
 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)
           
 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
 

Constructor Detail

ManagedConfOperationsImpl

public ManagedConfOperationsImpl(RestConnection con,
                                 JsonParser parser)
Method Detail

setPropertyForGlobal

public void setPropertyForGlobal(String propName,
                                 String value,
                                 com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
Specified by:
setPropertyForGlobal in interface ManagedConfOperations

setPropertyForUngrouped

public void setPropertyForUngrouped(String propName,
                                    String value,
                                    com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context)
Specified by:
setPropertyForUngrouped in interface ManagedConfOperations

setPropertyForGroup

public void setPropertyForGroup(String propName,
                                String value,
                                com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
                                Long serverGroupId)
Specified by:
setPropertyForGroup in interface ManagedConfOperations

setPropertyForGroup

public void setPropertyForGroup(String propName,
                                String value,
                                com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
                                String groupName)
Specified by:
setPropertyForGroup in interface ManagedConfOperations

setPropertyForServer

public void setPropertyForServer(String propName,
                                 String value,
                                 com.zeroturnaround.liverebel.util.managedconf.api.ConfigurationContexts context,
                                 String serverName)
Specified by:
setPropertyForServer in interface ManagedConfOperations

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 ManagedConfOperations

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 ManagedConfOperations

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 ManagedConfOperations

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 ManagedConfOperations

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 ManagedConfOperations

encryptProperty

public String encryptProperty(String plainProperty)
Specified by:
encryptProperty in interface ManagedConfOperations

decryptProperty

public String decryptProperty(String encryptedProperty)
Specified by:
decryptProperty in interface ManagedConfOperations


Copyright © 2013. All Rights Reserved.