org.apache.falcon.entity
Class ClusterHelper

java.lang.Object
  extended by org.apache.falcon.entity.ClusterHelper

public final class ClusterHelper
extends Object

Helper to get end points relating to the cluster.


Field Summary
static String DEFAULT_BROKER_IMPL_CLASS
           
 
Method Summary
static String getCompleteLocation(org.apache.falcon.entity.v0.cluster.Cluster cluster, String locationKey)
           
static Configuration getConfiguration(org.apache.falcon.entity.v0.cluster.Cluster cluster)
           
static org.apache.falcon.entity.v0.cluster.Interface getInterface(org.apache.falcon.entity.v0.cluster.Cluster cluster, org.apache.falcon.entity.v0.cluster.Interfacetype type)
           
static String getLocation(org.apache.falcon.entity.v0.cluster.Cluster cluster, String locationKey)
           
static String getMessageBrokerImplClass(org.apache.falcon.entity.v0.cluster.Cluster cluster)
           
static String getMessageBrokerUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)
           
static String getMREndPoint(org.apache.falcon.entity.v0.cluster.Cluster cluster)
           
static String getOozieUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)
           
static String getPropertyValue(org.apache.falcon.entity.v0.cluster.Cluster cluster, String propName)
           
static String getReadOnlyStorageUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)
           
static String getStorageUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BROKER_IMPL_CLASS

public static final String DEFAULT_BROKER_IMPL_CLASS
See Also:
Constant Field Values
Method Detail

getConfiguration

public static Configuration getConfiguration(org.apache.falcon.entity.v0.cluster.Cluster cluster)

getOozieUrl

public static String getOozieUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)

getStorageUrl

public static String getStorageUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)

getReadOnlyStorageUrl

public static String getReadOnlyStorageUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)

getMREndPoint

public static String getMREndPoint(org.apache.falcon.entity.v0.cluster.Cluster cluster)

getMessageBrokerUrl

public static String getMessageBrokerUrl(org.apache.falcon.entity.v0.cluster.Cluster cluster)

getMessageBrokerImplClass

public static String getMessageBrokerImplClass(org.apache.falcon.entity.v0.cluster.Cluster cluster)

getInterface

public static org.apache.falcon.entity.v0.cluster.Interface getInterface(org.apache.falcon.entity.v0.cluster.Cluster cluster,
                                                                         org.apache.falcon.entity.v0.cluster.Interfacetype type)

getCompleteLocation

public static String getCompleteLocation(org.apache.falcon.entity.v0.cluster.Cluster cluster,
                                         String locationKey)

getLocation

public static String getLocation(org.apache.falcon.entity.v0.cluster.Cluster cluster,
                                 String locationKey)

getPropertyValue

public static String getPropertyValue(org.apache.falcon.entity.v0.cluster.Cluster cluster,
                                      String propName)


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.