public class AnalysisBackend extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <backend> <url>http://example.org/HDqpcpimZSQGYeMrwFrs</url> <backendId>692904514</backendId> <description>DJZLiFcjpuXWVzsRIvmczSyLhZAYYvkamjEKfHFElCBVKxbOpbrIFPVwoGGnzSTI</description> <enabled>true</enabled> <capabilityList> <capability>ANONYMOUS_TASK</capability> </capabilityList> </backend>
Modifier and Type | Class and Description |
---|---|
static class |
AnalysisBackend.Capability
Capability of a back-end.
|
Constructor and Description |
---|
AnalysisBackend() |
AnalysisBackend(java.lang.Integer backendId) |
Modifier and Type | Method and Description |
---|---|
void |
addCapability(AnalysisBackend.Capability capability) |
java.lang.String |
getAnalysisUri() |
java.lang.Integer |
getBackendId() |
java.util.EnumSet<AnalysisBackend.Capability> |
getCapabilities() |
DataGroups |
getDefaultTaskDataGroups() |
java.lang.String |
getDescription() |
boolean |
hasCapabilities(java.util.Set<AnalysisBackend.Capability> capabilities) |
boolean |
hasCapability(AnalysisBackend.Capability capability) |
java.lang.Boolean |
isEnabled() |
void |
setAnalysisUri(java.lang.String analysisUri) |
void |
setBackendId(java.lang.Integer backendId) |
void |
setCapabilities(java.util.EnumSet<AnalysisBackend.Capability> capabilities) |
void |
setDefaultTaskDataGroups(DataGroups defaultTaskDataGroups) |
void |
setDescription(java.lang.String description) |
void |
setEnabled(java.lang.Boolean enabled) |
public AnalysisBackend()
public AnalysisBackend(java.lang.Integer backendId)
backendId
- public void setCapabilities(java.util.EnumSet<AnalysisBackend.Capability> capabilities)
capabilities
- public boolean hasCapability(AnalysisBackend.Capability capability)
capability
- public boolean hasCapabilities(java.util.Set<AnalysisBackend.Capability> capabilities)
capabilities
- public void addCapability(AnalysisBackend.Capability capability)
capability
- public java.util.EnumSet<AnalysisBackend.Capability> getCapabilities()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- public java.lang.Boolean isEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- public java.lang.String getAnalysisUri()
public void setAnalysisUri(java.lang.String analysisUri)
analysisUri
- public java.lang.Integer getBackendId()
public void setBackendId(java.lang.Integer backendId)
backendId
- public DataGroups getDefaultTaskDataGroups()
public void setDefaultTaskDataGroups(DataGroups defaultTaskDataGroups)
defaultTaskDataGroups
- the defaultTaskDataGroups to setCopyright © 2015 Tampere University of Technology, Pori Department.