All Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
void |
addError(String error) |
void |
addErrors(Collection<String> errors) |
File |
getAdvisorFile() |
String |
getAdvisorName() |
File |
getAlertsFile() |
File |
getChecksFolder() |
ComponentInfo |
getClientComponent() |
CommandScriptDefinition |
getCommandScript() |
String |
getComment() |
ComponentInfo |
getComponentByName(String componentName)
Finds ComponentInfo by component name
|
List<ComponentInfo> |
getComponents() |
List<String> |
getConfigDependencies() |
List<String> |
getConfigDependenciesWithComponents() |
String |
getConfigDir() |
Map<String,Map<String,Map<String,String>>> |
getConfigTypeAttributes()
Obtain the config types associated with this service.
|
CredentialStoreInfo |
getCredentialStoreInfo()
Get the credential store information object.
|
List<CustomCommandDefinition> |
getCustomCommands() |
String |
getDisplayName() |
Collection<String> |
getErrors() |
Set<String> |
getExcludedConfigTypes() |
File |
getKerberosDescriptorFile() |
String |
getKerberosEnabledTest()
|
String |
getLdapEnabledTest() |
ServiceLdapInfo |
getLdapInfo()
Gets a new value for LDAP integration support
|
String |
getMaintainer() |
Map<String,Map<String,List<MetricDefinition>>> |
getMetrics() |
File |
getMetricsFile() |
String |
getMetricsFileName() |
String |
getName() |
Map<String,ServiceOsSpecific> |
getOsSpecifics()
Exposes (and initializes on first use) map of os-specific details.
|
String |
getParent() |
List<PropertyInfo> |
getProperties() |
List<QuickLinksConfigurationInfo> |
getQuickLinksConfigurations() |
String |
getQuickLinksConfigurationsDir() |
Map<String,QuickLinksConfigurationInfo> |
getQuickLinksConfigurationsMap() |
Map<String,PropertyInfo> |
getRequiredProperties() |
List<String> |
getRequiredServices() |
StackRoleCommandOrder |
getRoleCommandOrder() |
String |
getSchemaVersion() |
ServiceInfo.Selection |
getSelection() |
File |
getServerActionsFolder() |
ServiceInfo.ServiceAdvisorType |
getServiceAdvisorType() |
String |
getServicePackageFolder() |
Map<String,String> |
getServiceProperties()
Returns the service properties defined in the xml service definition.
|
List<ServicePropertyInfo> |
getServicePropertyList() |
String |
getServiceType() |
File |
getServiceUpgradesFolder() |
String |
getSingleSignOnEnabledConfiguration()
|
String |
getSingleSignOnEnabledTest() |
SingleSignOnInfo |
getSingleSignOnInfo()
Gets the value for the SSO integration support
|
Boolean |
getSupportDeleteViaUIField() |
List<ThemeInfo> |
getThemes() |
String |
getThemesDir() |
Map<String,ThemeInfo> |
getThemesMap() |
String |
getVersion() |
File |
getWidgetsDescriptorFile() |
String |
getWidgetsFileName() |
boolean |
hasConfigDependency(String type)
Determine of the service has a dependency on the provided configuration type.
|
boolean |
hasConfigType(String type)
Determine if the service contains the specified config type
|
boolean |
hasDependencyAndPropertyFor(String type,
Collection<String> keyNames)
Determine if the service has a dependency on the provided type and contains any of the provided properties.
|
boolean |
isClientOnlyService() |
boolean |
isCredentialStoreEnabled()
Indicates if this service is enabled for credential store use.
|
boolean |
isCredentialStoreRequired()
Indicates if this service is requires credential store.
|
boolean |
isCredentialStoreSupported()
Indicates if this service supports credential store.
|
boolean |
isDeleted() |
boolean |
isKerberosRequiredForSingleSignOnIntegration() |
boolean |
isLdapSupported() |
boolean |
isMaintainerEmpty() |
Boolean |
isMonitoringService() |
Boolean |
isRestartRequiredAfterChange() |
Boolean |
isRestartRequiredAfterRackChange()
Determine whether or not a restart is required for this service after a host rack info change.
|
boolean |
isRollingRestartSupported() |
boolean |
isSelectionEmpty()
Check if selection was presented in xml.
|
boolean |
isSingleSignOnSupported()
Indicates if this service supports single sign-on integration.
|
boolean |
isSupportDeleteViaUI() |
boolean |
isValid() |
boolean |
isVersionAdvertised()
Gets whether this service advertises a version based on whether at least
one of its components advertises a version.
|
void |
setAdvisorFile(File advisorFile) |
void |
setAdvisorName(String advisorName) |
void |
setAlertsFile(File file) |
void |
setAllConfigAttributes(Map<String,Map<String,Map<String,String>>> types)
Set all types and associated attributes.
|
void |
setChecksFolder(File checksFolder) |
void |
setCommandScript(CommandScriptDefinition commandScript) |
void |
setComment(String comment) |
void |
setConfigDependencies(List<String> configDependencies) |
void |
setCredentialStoreEnabled(boolean credentialStoreEnabled)
Set a value indicating if this service is enabled for credential store use.
|
void |
setCredentialStoreInfo(CredentialStoreInfo credentialStoreInfo)
Set a new value for the credential store information.
|
void |
setCredentialStoreRequired(boolean credentialStoreRequired)
Set a value indicating if this service requires credential store.
|
void |
setCredentialStoreSupported(boolean credentialStoreSupported)
Set a value indicating if this service supports credential store.
|
void |
setCustomCommands(List<CustomCommandDefinition> customCommands) |
void |
setDeleted(boolean deleted) |
void |
setDisplayName(String displayName) |
void |
setExcludedConfigTypes(Set<String> excludedConfigTypes) |
void |
setKerberosDescriptorFile(File file) |
void |
setKerberosEnabledTest(String kerberosEnabledTest)
|
void |
setLdapInfo(ServiceLdapInfo ldapInfo)
Sets a new value for LDAP integration support
|
void |
setMaintainer(String maintainer) |
void |
setMetrics(Map<String,Map<String,List<MetricDefinition>>> map) |
void |
setMetricsFile(File file) |
void |
setMetricsFileName(String metricsFileName) |
void |
setMonitoringService(Boolean monitoringService) |
void |
setName(String name) |
void |
setOsSpecifics(Map<String,ServiceOsSpecific> serviceOsSpecificsMap) |
void |
setParent(String parent) |
void |
setProperties(List<PropertyInfo> properties) |
void |
setQuickLinksConfigurations(List<QuickLinksConfigurationInfo> quickLinksConfigurations) |
void |
setQuickLinksConfigurationsDir(String quickLinksConfigurationsDir) |
void |
setQuickLinksConfigurationsMap(Map<String,QuickLinksConfigurationInfo> quickLinksConfigurationsMap) |
void |
setRequiredServices(List<String> requiredServices) |
void |
setRestartRequiredAfterChange(Boolean restartRequiredAfterChange) |
void |
setRestartRequiredAfterRackChange(Boolean restartRequiredAfterRackChange)
Set indicator for required restart after a host rack info change.
|
void |
setRoleCommandOrder(StackRoleCommandOrder roleCommandOrder) |
void |
setRollingRestartSupported(boolean rollingRestartSupported) |
void |
setSchemaVersion(String schemaVersion) |
void |
setSelection(ServiceInfo.Selection selection) |
void |
setServerActionsFolder(File serverActionsFolder) |
void |
setServiceAdvisorType(ServiceInfo.ServiceAdvisorType type) |
void |
setServicePackageFolder(String servicePackageFolder) |
void |
setServicePropertyList(List<ServicePropertyInfo> servicePropertyList) |
void |
setServiceType(String serviceType) |
void |
setServiceUpgradesFolder(File serviceUpgradesFolder) |
void |
setSingleSignOnInfo(SingleSignOnInfo singleSignOnInfo)
Set a new value for the SSO integration support
|
void |
setSupportDeleteViaUI(boolean supportDeleteViaUI) |
void |
setSupportDeleteViaUIField(Boolean supportDeleteViaUIField) |
void |
setThemes(List<ThemeInfo> themes) |
void |
setThemesDir(String themesDir) |
void |
setThemesMap(Map<String,ThemeInfo> themesMap) |
void |
setTypeAttributes(String type,
Map<String,Map<String,String>> typeAttributes)
Add the given type and set it's attributes.
|
void |
setValid(boolean valid) |
void |
setVersion(String version) |
void |
setWidgetsDescriptorFile(File widgetsDescriptorFile) |
void |
setWidgetsFileName(String widgetsFileName) |
String |
toString() |