public class

JsonParameters

extends Object
java.lang.Object
   ↳ org.apache.helix.webapp.resources.JsonParameters

Constants

public static final String BUCKET_SIZE

Constant Value: "bucketSize"

public static final String CLUSTER_NAME

Constant Value: "clusterName"

public static final String CONFIGS

Constant Value: "configs"

public static final String CONSTRAINT_ATTRIBUTES

Constant Value: "constraintAttributes"

public static final String ENABLED

Constant Value: "enabled"

public static final String GRAND_CLUSTER

Constant Value: "grandCluster"

public static final String IDEAL_STATE_MODE

Constant Value: "mode"

public static final String INSTANCE_NAME

Constant Value: "instanceName"

public static final String INSTANCE_NAMES

Constant Value: "instanceNames"

public static final String JSON_PARAMETERS

Constant Value: "jsonParameters"

public static final String MANAGEMENT_COMMAND

Constant Value: "command"

public static final String MAX_PARTITIONS_PER_NODE

Constant Value: "maxPartitionsPerNode"

public static final String NEW_IDEAL_STATE

Constant Value: "newIdealState"

public static final String NEW_INSTANCE

Constant Value: "newInstance"

public static final String NEW_STATE_MODEL_DEF

Constant Value: "newStateModelDef"

public static final String OLD_INSTANCE

Constant Value: "oldInstance"

public static final String PARTITION

Constant Value: "partition"

public static final String PARTITIONS

Constant Value: "partitions"

public static final String REPLICAS

Constant Value: "replicas"

public static final String RESOURCE

Constant Value: "resource"

public static final String RESOURCE_GROUP_NAME

Constant Value: "resourceGroupName"

public static final String RESOURCE_KEY_PREFIX

Constant Value: "key"

public static final String STATE_MODEL_DEF_REF

Constant Value: "stateModelDefRef"

public static final String TAG

Constant Value: "tag"

public static final String ZK_DELETE_CHILDREN

Constant Value: "zkDeleteChildren"

Fields

public static Map<StringSet<String>> CLUSTERSETUP_COMMAND_ALIASES

Public Constructors

public JsonParameters (Representation entity)

Throws
Exception

public JsonParameters (Form form)

Throws
Exception

Public Methods

public Map<StringString> cloneParameterMap ()

public String getCommand ()

public ZNRecord getExtraParameter (String key)

public String getParameter (String key)

public void verifyCommand (String command)