Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class ConsolePreferences

java.lang.Object
  extended by com.pcube.apps.engage.policy.ConsolePreferences

public class ConsolePreferences
extends java.lang.Object

Comment for ConsolePreferences


Field Summary
static java.lang.String PROP_APPLY_AS_PART_OF_PP_UPGRADE
           
static java.lang.String PROP_SUFFIX_DEVICE_RPC_PORT
           
static java.lang.String PROP_VIRTUAL_LINKS_FORCE_TEMPLATE_VL_VALUES
           
 
Constructor Summary
ConsolePreferences(java.util.Properties defaultPreferences)
           
 
Method Summary
 java.util.Properties getDcIpRemap()
           
 int getDcUpdateMethod()
           
 int getDeviceRpcPort(java.lang.String deviceIp, java.lang.String defaultValue)
           
 java.lang.String getProperty(java.lang.String key)
           
 int getRpcPort()
           
 boolean isApplyPartOfProtocolPackUpgrade()
          true if apply is executed as part of a protocol pack installation (and therefore one-time configuration for the protocol pack needs to be executed as well).
 boolean isForceTemplateVirtualLinkValues()
           
 boolean isProtocolFamiliesEditingEnabled()
          allow to edit protocol families
 boolean isUpdateDcEnabled()
           
 void load(java.lang.String filename)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROP_VIRTUAL_LINKS_FORCE_TEMPLATE_VL_VALUES

public static final java.lang.String PROP_VIRTUAL_LINKS_FORCE_TEMPLATE_VL_VALUES
See Also:
Constant Field Values

PROP_APPLY_AS_PART_OF_PP_UPGRADE

public static final java.lang.String PROP_APPLY_AS_PART_OF_PP_UPGRADE
See Also:
Constant Field Values

PROP_SUFFIX_DEVICE_RPC_PORT

public static final java.lang.String PROP_SUFFIX_DEVICE_RPC_PORT
See Also:
Constant Field Values
Constructor Detail

ConsolePreferences

public ConsolePreferences(java.util.Properties defaultPreferences)
Method Detail

getDcIpRemap

public java.util.Properties getDcIpRemap()
Returns:

getDcUpdateMethod

public int getDcUpdateMethod()
Returns:

getProperty

public java.lang.String getProperty(java.lang.String key)
Parameters:
key -
Returns:

getRpcPort

public int getRpcPort()

getDeviceRpcPort

public int getDeviceRpcPort(java.lang.String deviceIp,
                            java.lang.String defaultValue)

isUpdateDcEnabled

public boolean isUpdateDcEnabled()
Returns:

load

public void load(java.lang.String filename)
          throws java.io.IOException
Throws:
java.io.IOException

isProtocolFamiliesEditingEnabled

public boolean isProtocolFamiliesEditingEnabled()
allow to edit protocol families

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isForceTemplateVirtualLinkValues

public boolean isForceTemplateVirtualLinkValues()

isApplyPartOfProtocolPackUpgrade

public boolean isApplyPartOfProtocolPackUpgrade()
true if apply is executed as part of a protocol pack installation (and therefore one-time configuration for the protocol pack needs to be executed as well).

Returns:

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.