|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedDefinition<FromDefinition>
org.apache.camel.model.FromDefinition
public class FromDefinition
Represents an XML <from/> element
| Constructor Summary | |
|---|---|
FromDefinition()
|
|
FromDefinition(Endpoint endpoint)
|
|
FromDefinition(String uri)
|
|
| Method Summary | |
|---|---|
protected void |
clear()
|
protected static String |
description(String uri,
String ref,
Endpoint endpoint)
|
Endpoint |
getEndpoint()
|
String |
getLabel()
|
String |
getRef()
|
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images |
String |
getUri()
|
Object |
getUriOrRef()
Returns the endpoint URI or the name of the reference to it |
Endpoint |
resolveEndpoint(RouteContext context)
|
void |
setEndpoint(Endpoint endpoint)
|
void |
setRef(String ref)
Sets the name of the endpoint within the registry (such as the Spring ApplicationContext or JNDI) to use |
void |
setUri(String uri)
Sets the URI of the endpoint to use |
String |
toString()
|
| Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition |
|---|
description, getDescription, getId, hasCustomIdAssigned, id, idOrCreate, setDescription, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FromDefinition()
public FromDefinition(String uri)
public FromDefinition(Endpoint endpoint)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getShortName()
OptionalIdentifiedDefinition
getShortName in class OptionalIdentifiedDefinition<FromDefinition>public String getLabel()
public Endpoint resolveEndpoint(RouteContext context)
public String getUri()
public void setUri(String uri)
uri - the endpoint URI to usepublic String getRef()
public void setRef(String ref)
ref - the reference name to usepublic Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
public Object getUriOrRef()
protected static String description(String uri,
String ref,
Endpoint endpoint)
protected void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||