Class DescribableServiceUtil
- java.lang.Object
-
- com.dtolabs.rundeck.core.plugins.configuration.DescribableServiceUtil
-
public class DescribableServiceUtil extends java.lang.Object
DescribableServiceUtil provides utility methods for use byDescribableService
implementations.
-
-
Constructor Summary
Constructors Constructor Description DescribableServiceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Description
descriptionForProvider(boolean includeFieldProperties, java.lang.Object providerForType)
Get or build the description of a plugin instance of a given typestatic <T> java.util.List<ProviderIdent>
listDescribableProviders(ProviderService<T> service)
static <T> java.util.List<Description>
listDescriptions(ProviderService<T> service)
static <T> java.util.List<Description>
listDescriptions(ProviderService<T> service, boolean includeFieldProperties)
static <T> Description
loadDescriptionForType(ProviderService<T> service, java.lang.String name, boolean includeFieldProperties)
-
-
-
Method Detail
-
listDescriptions
public static <T> java.util.List<Description> listDescriptions(ProviderService<T> service)
-
listDescriptions
public static <T> java.util.List<Description> listDescriptions(ProviderService<T> service, boolean includeFieldProperties)
-
loadDescriptionForType
public static <T> Description loadDescriptionForType(ProviderService<T> service, java.lang.String name, boolean includeFieldProperties)
-
descriptionForProvider
public static Description descriptionForProvider(boolean includeFieldProperties, java.lang.Object providerForType)
Get or build the description of a plugin instance of a given type- Parameters:
includeFieldProperties
- true to include introspected field propertiesproviderForType
- plugin instance- Returns:
- description, or null
-
listDescribableProviders
public static <T> java.util.List<ProviderIdent> listDescribableProviders(ProviderService<T> service)
-
-