org.apache.lens.client
Enum LensClientSingletonWrapper

java.lang.Object
  extended by java.lang.Enum<LensClientSingletonWrapper>
      extended by org.apache.lens.client.LensClientSingletonWrapper
All Implemented Interfaces:
Serializable, Comparable<LensClientSingletonWrapper>

public enum LensClientSingletonWrapper
extends Enum<LensClientSingletonWrapper>

The Enum LensClientSingletonWrapper.


Enum Constant Summary
INSTANCE
          The instance.
 
Method Summary
 void explainFailedAttempt(LensClientServerConnectionException e)
          Explain failed attempt.
 LensClient getClient()
           
 void setClient(LensClient client)
           
static LensClientSingletonWrapper valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LensClientSingletonWrapper[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final LensClientSingletonWrapper INSTANCE
The instance.

Method Detail

values

public static LensClientSingletonWrapper[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LensClientSingletonWrapper c : LensClientSingletonWrapper.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LensClientSingletonWrapper valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

explainFailedAttempt

public void explainFailedAttempt(LensClientServerConnectionException e)
Explain failed attempt.

Parameters:
e - the e

getClient

public LensClient getClient()

setClient

public void setClient(LensClient client)


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.