public class

State

extends Object
java.lang.Object
   ↳ org.apache.helix.api.State

Class Overview

A state in a state model managed by Helix

Summary

Public Constructors
State(String state)
Create a state
Public Methods
boolean equals(Object that)
static State from(HelixDefinedState state)
Get a State from a HelixDefinedState
static State from(String state)
Get a State from a state name
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public State (String state)

Create a state

Parameters
state string representing a state

Public Methods

public boolean equals (Object that)

public static State from (HelixDefinedState state)

Get a State from a HelixDefinedState

Parameters
state HelixDefinedState
Returns
  • State

public static State from (String state)

Get a State from a state name

Parameters
state state name
Returns
  • State

public int hashCode ()

public String toString ()