public class

Transition

extends Object
java.lang.Object
   ↳ org.apache.helix.model.Transition

Class Overview

Defines a transition from one state to another

Summary

Public Constructors
Transition(String fromState, String toState)
Instantiate with a source and destination state
Public Methods
boolean equals(Object that)
String getFromState()
Get the source state
String getToState()
Get the destination state
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Transition (String fromState, String toState)

Instantiate with a source and destination state

Parameters
fromState source name
toState destination name

Public Methods

public boolean equals (Object that)

public String getFromState ()

Get the source state

Returns
  • source state name

public String getToState ()

Get the destination state

Returns
  • destination state name

public int hashCode ()

public String toString ()