public class StackServiceResponse extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
StackServiceResponse.StackServiceResponseSwagger |
Constructor and Description |
---|
StackServiceResponse(ServiceInfo service)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getComments() |
Map<String,Map<String,Map<String,String>>> |
getConfigTypes() |
List<String> |
getCustomCommands()
Gets the names of all of the custom commands for this service.
|
Set<String> |
getExcludedConfigTypes() |
File |
getKerberosDescriptorFile()
Gets a File pointing to the service-level Kerberos descriptor
|
String |
getMaintainer() |
List<String> |
getRequiredServices() |
ServiceInfo.Selection |
getSelection() |
String |
getServiceDisplayName() |
String |
getServiceName() |
Map<String,String> |
getServiceProperties()
Get the service properties of this service.
|
String |
getServiceType() |
String |
getServiceVersion() |
String |
getStackName() |
String |
getStackVersion() |
String |
getUserName() |
boolean |
isCredentialStoreEnabled()
Get whether credential store use is enabled
|
boolean |
isCredentialStoreRequired()
Get whether credential store use is required
|
boolean |
isCredentialStoreSupported()
Get whether credential store is supported by the service
|
boolean |
isLdapIntegrationSupported()
Indicates if this service supports LDAP integration.
|
boolean |
isRollingRestartSupported() |
boolean |
isServiceCheckSupported()
Gets whether the service represented by this response supports running
"Service Checks".
|
boolean |
isSsoIntegrationRequiresKerberos()
Indicates if Kerberos is required for SSO integration
|
boolean |
isSsoIntegrationSupported()
Indicates if this service supports single sign-on integration.
|
boolean |
isSupportDeleteViaUI() |
void |
setComments(String comments) |
void |
setCredentialStoreEnabled(boolean credentialStoreEnabled)
Set credential store enabled value.
|
void |
setCredentialStoreRequired(boolean credentialStoreRequired)
Set credential store required value.
|
void |
setCredentialStoreSupported(boolean credentialStoreSupported)
Set credential store supported value
|
void |
setKerberosDescriptorFile(File kerberosDescriptorFile)
Sets the service-level Kerberos descriptor File
|
void |
setRequiredServices(List<String> requiredServices) |
void |
setRollingRestartSupported(boolean rollingRestartSupported) |
void |
setSelection(ServiceInfo.Selection selection) |
void |
setServiceDisplayName(String serviceDisplayName) |
void |
setServiceName(String serviceName) |
void |
setServiceType(String serviceType) |
void |
setServiceVersion(String serviceVersion) |
void |
setStackName(String stackName) |
void |
setStackVersion(String stackVersion) |
void |
setUserName(String userName) |
public StackServiceResponse(ServiceInfo service)
service
- the service to generate the response from (not null
).public ServiceInfo.Selection getSelection()
public void setSelection(ServiceInfo.Selection selection)
public String getMaintainer()
public String getStackName()
public void setStackName(String stackName)
public String getStackVersion()
public void setStackVersion(String stackVersion)
public String getServiceName()
public void setServiceName(String serviceName)
public String getServiceType()
public void setServiceType(String serviceType)
public String getServiceDisplayName()
public void setServiceDisplayName(String serviceDisplayName)
public String getUserName()
public void setUserName(String userName)
public String getComments()
public void setComments(String comments)
public String getServiceVersion()
public void setServiceVersion(String serviceVersion)
public File getKerberosDescriptorFile()
public void setKerberosDescriptorFile(File kerberosDescriptorFile)
kerberosDescriptorFile
- a File pointing to the service-level Kerberos descriptorpublic boolean isServiceCheckSupported()
metainfo.xml
of the service definition. This
not the same as a custom command defined for a component.true
if this service supports running "Service Checks",
false
otherwise.public List<String> getCustomCommands()
null
).public Map<String,String> getServiceProperties()
null
).public boolean isCredentialStoreSupported()
public void setCredentialStoreSupported(boolean credentialStoreSupported)
credentialStoreSupported
- public boolean isCredentialStoreEnabled()
public void setCredentialStoreEnabled(boolean credentialStoreEnabled)
credentialStoreEnabled
- public boolean isCredentialStoreRequired()
public void setCredentialStoreRequired(boolean credentialStoreRequired)
credentialStoreRequired
- public boolean isSupportDeleteViaUI()
public boolean isSsoIntegrationSupported()
public boolean isSsoIntegrationRequiresKerberos()
public boolean isLdapIntegrationSupported()
public boolean isRollingRestartSupported()
public void setRollingRestartSupported(boolean rollingRestartSupported)
Copyright © 2022 Apache Software Foundation. All rights reserved.