|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.macro.CopyRouteRedirector.CopyRoute
A CopyRoute defines the source and the destination URI of a
copy
operation.
Field Summary | |
static java.lang.String |
DESTINATION_MUST_NOT_BE_NULL
Message of the IllegalArgumentException that is thrown by constructor if parameter destinationUri is null . |
protected java.lang.String |
destinationUri
The destination Uri. |
static java.lang.String |
SOURCE_MUST_NOT_BE_NULL
Message of the IllegalArgumentException that is thrown by constructor if parameter sourceUri is null . |
protected java.lang.String |
sourceUri
The source Uri. |
Constructor Summary | |
CopyRouteRedirector.CopyRoute(java.lang.String sourceUri,
java.lang.String destinationUri)
Creates a CopyRoute from the given URIs. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Returns true if the other Object is a CopyRoute
and both routes source and destination URIs are equal. |
java.lang.String |
getDestinationUri()
Returns the destination Uri. |
java.lang.String |
getSourceUri()
Returns the source Uri. |
int |
hashCode()
Returns the hash code of this instance. |
java.lang.String |
toString()
Returns a String representation of the CopyRoute. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.lang.String SOURCE_MUST_NOT_BE_NULL
sourceUri
is null
.
public static java.lang.String DESTINATION_MUST_NOT_BE_NULL
destinationUri
is null
.
protected java.lang.String sourceUri
protected java.lang.String destinationUri
Constructor Detail |
public CopyRouteRedirector.CopyRoute(java.lang.String sourceUri, java.lang.String destinationUri) throws java.lang.IllegalArgumentException
sourceUri
- the Uri of the source.
Must not be null
.destinationUri
- the Uri of the destination.
Must not be null
.
java.lang.IllegalArgumentException
- if one of the parameters is
null
.Method Detail |
public java.lang.String getSourceUri()
public java.lang.String getDestinationUri()
public java.lang.String toString()
public boolean equals(java.lang.Object other)
true
if the other Object is a CopyRoute
and both routes source and destination URIs are equal.
other
- the Object to test for equality.
true
if the other Object is a CopyRoute
and both routes source and destination URIs are equal.public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |