|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dtolabs.rundeck.core.plugins.BaseProviderRegistryService<T>
com.dtolabs.rundeck.core.plugins.PluggableProviderRegistryService<ResourceModelSourceFactory>
com.dtolabs.rundeck.core.resources.ResourceModelSourceService
public class ResourceModelSourceService
ResourceModelSourceService provides NodeSource factories
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
|
Fields inherited from class com.dtolabs.rundeck.core.plugins.BaseProviderRegistryService |
---|
framework, instanceregistry, registry |
Constructor Summary | |
---|---|
ResourceModelSourceService(Framework framework)
|
Method Summary | |
---|---|
ResourceModelSourceFactory |
createProviderInstance(java.lang.Class<ResourceModelSourceFactory> clazz,
java.lang.String name)
Create provider instance from a class |
ResourceModelSourceFactory |
createScriptProviderInstance(ScriptPluginProvider provider)
Return the instance for a ScriptPluginProvider definition |
static ResourceModelSourceService |
getInstanceForFramework(Framework framework)
|
java.lang.String |
getName()
Return the name used to identify the service |
ResourceModelSource |
getProviderForConfiguration(java.lang.String type,
java.util.Properties configuration)
Return a ResourceModelSource of a give type with a given configuration |
ResourceModelSource |
getSourceForConfiguration(java.lang.String type,
java.util.Properties configuration)
Return a ResourceModelSource of a give type with a given configuration |
boolean |
isScriptPluggable()
Return true if the service supports script plugins |
boolean |
isValidProviderClass(java.lang.Class clazz)
Return true if the class is a valid provider class for the service |
java.util.List<ProviderIdent> |
listDescribableProviders()
|
java.util.List<Description> |
listDescriptions()
|
Methods inherited from class com.dtolabs.rundeck.core.plugins.PluggableProviderRegistryService |
---|
listProviders, providerOfType |
Methods inherited from class com.dtolabs.rundeck.core.plugins.BaseProviderRegistryService |
---|
createProviderInstanceFromType, hasValidProviderSignature, registerClass, registerInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE_NAME
Constructor Detail |
---|
public ResourceModelSourceService(Framework framework)
Method Detail |
---|
public java.lang.String getName()
FrameworkSupportService
getName
in interface FrameworkSupportService
public static ResourceModelSourceService getInstanceForFramework(Framework framework)
public ResourceModelSource getSourceForConfiguration(java.lang.String type, java.util.Properties configuration) throws ExecutionServiceException
ExecutionServiceException
public boolean isValidProviderClass(java.lang.Class clazz)
PluggableService
isValidProviderClass
in interface PluggableService<ResourceModelSourceFactory>
clazz
- the classpublic ResourceModelSourceFactory createProviderInstance(java.lang.Class<ResourceModelSourceFactory> clazz, java.lang.String name) throws PluginException, ProviderCreationException
PluggableService
createProviderInstance
in interface PluggableService<ResourceModelSourceFactory>
clazz
- the classname
- the provider name
PluginException
ProviderCreationException
public boolean isScriptPluggable()
PluggableService
isScriptPluggable
in interface PluggableService<ResourceModelSourceFactory>
public ResourceModelSourceFactory createScriptProviderInstance(ScriptPluginProvider provider) throws PluginException
PluggableService
createScriptProviderInstance
in interface PluggableService<ResourceModelSourceFactory>
provider
- the script plugin provider
PluginException
public ResourceModelSource getProviderForConfiguration(java.lang.String type, java.util.Properties configuration) throws ExecutionServiceException
ConfigurableService
getProviderForConfiguration
in interface ConfigurableService<ResourceModelSource>
ExecutionServiceException
public java.util.List<Description> listDescriptions()
listDescriptions
in interface DescribableService
public java.util.List<ProviderIdent> listDescribableProviders()
listDescribableProviders
in interface DescribableService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |