Class URLResourceModelSource
- java.lang.Object
-
- com.dtolabs.rundeck.core.resources.URLResourceModelSource
-
- All Implemented Interfaces:
Configurable,ResourceModelSource
public class URLResourceModelSource extends java.lang.Object implements ResourceModelSource, Configurable
URLResourceModelSource produces nodes from a URL
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classURLResourceModelSource.Configurationstatic classURLResourceModelSource.URLValidator
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_TIMEOUTstatic DescriptionDESCRIPTION
-
Constructor Summary
Constructors Constructor Description URLResourceModelSource(Framework framework)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(java.util.Properties configuration)Configure the object with the configuration properties.INodeSetgetNodes()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.resources.ResourceModelSource
getSourceType, getWriteable
-
-
-
-
Field Detail
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final Description DESCRIPTION
-
-
Constructor Detail
-
URLResourceModelSource
public URLResourceModelSource(Framework framework)
-
-
Method Detail
-
configure
public void configure(java.util.Properties configuration) throws ConfigurationExceptionDescription copied from interface:ConfigurableConfigure the object with the configuration properties.- Specified by:
configurein interfaceConfigurable- Parameters:
configuration- the properties to use- Throws:
ConfigurationException- if there is an invalid configuration
-
getNodes
public INodeSet getNodes() throws ResourceModelSourceException
- Specified by:
getNodesin interfaceResourceModelSource- Throws:
ResourceModelSourceException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-