public class

StateModelDefinitionValidator

extends Object
java.lang.Object
   ↳ org.apache.helix.model.util.StateModelDefinitionValidator

Class Overview

Validator logic for a StateModelDefinition.

Usage:
StateModelDefinition stateModelDef = ...;
StateModelDefinitionValidator.isStateModelDefinitionValid(stateModelDef);

Summary

Public Methods
boolean isStateModelDefinitionValid()
Check if the StateModelDefinition passes all validation checks
static boolean isStateModelDefinitionValid(StateModelDefinition stateModelDef)
Validate a StateModelDefinition instance
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean isStateModelDefinitionValid ()

Check if the StateModelDefinition passes all validation checks

Returns
  • true if state model definition is valid, false otherwise

public static boolean isStateModelDefinitionValid (StateModelDefinition stateModelDef)

Validate a StateModelDefinition instance

Parameters
stateModelDef the state model definition to validate
Returns
  • true if the state model definition is valid, false otherwise