public class

ProvisionerRef

extends Object
java.lang.Object
   ↳ org.apache.helix.controller.provisioner.ProvisionerRef

Class Overview

Reference to a class that extends Provisioner. It loads the class automatically.

Summary

Public Methods
boolean equals(Object that)
static ProvisionerRef from(Class<? extends Provisioner> provisionerClass)
Get a ProvisionerRef from a class object
static ProvisionerRef from(String provisionerClassName)
Get a provisioner class reference
Provisioner getProvisioner()
Get an instantiated Provisioner
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object that)

public static ProvisionerRef from (Class<? extends Provisioner> provisionerClass)

Get a ProvisionerRef from a class object

Parameters
provisionerClass class that implements Provisioner
Returns
  • ProvisionerRef

public static ProvisionerRef from (String provisionerClassName)

Get a provisioner class reference

Parameters
provisionerClassName name of the class
Returns
  • ProvisionerRef or null if name is null

public Provisioner getProvisioner ()

Get an instantiated Provisioner

Returns
  • Provisioner or null if instantiation failed

public String toString ()