|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.ant.types.ResourceType
public class ResourceType
Datatype describing a resource.
Constructor Summary | |
---|---|
ResourceType()
Creates a new ResourceType instance. |
Method Summary | |
---|---|
ResourceType |
clone()
Creates and returns a copy of this object. |
int |
getConnectTimeout()
Gets the timeout value, in milliseconds, to be used when opening communications links to the resource. |
String |
getLocation()
Gets the value of the location property. |
int |
getReadTimeout()
Gets the timeout value, in milliseconds, to be used when reading the resource. |
boolean |
isOptional()
Gets a flag indicating the resource is optional. |
void |
setConnectTimeout(int value)
Sets the timeout value, in milliseconds, to be used when opening communications links to the resource. |
void |
setLocation(String value)
Sets the value of the location property. |
void |
setOptional(boolean value)
Sets the flag indicating the resource is optional. |
void |
setReadTimeout(int value)
Sets the timeout value, in milliseconds, to be used when reading the resource. |
String |
toString()
Creates and returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceType()
ResourceType
instance.
Method Detail |
---|
public final String getLocation()
location
property.
location
property.setLocation(java.lang.String)
public final void setLocation(String value)
location
property.
value
- The value of the location
property.getLocation()
public final boolean isOptional()
true
, if the resource is optional; false
, if the build fails when the resource is not
found.setOptional(boolean)
public final void setOptional(boolean value)
value
- true
, to flag the resource optional; false
, to fail the build when the resource is
not found.isOptional()
public final int getConnectTimeout()
setConnectTimeout(int)
public final void setConnectTimeout(int value)
value
- The new timeout value, in milliseconds, to be used when opening communications links to the
resource.getConnectTimeout()
public final int getReadTimeout()
setReadTimeout(int)
public final void setReadTimeout(int value)
value
- The new timeout value, in milliseconds, to be used when reading the resource.getReadTimeout()
public ResourceType clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |