Class DatastoreServiceDescription
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatastoreServiceDescription
-
- All Implemented Interfaces:
IReportInformationProvider,java.io.Serializable,java.lang.Comparable<DatastoreServiceDescription>
public class DatastoreServiceDescription extends java.lang.Object implements IReportInformationProvider, java.io.Serializable, java.lang.Comparable<DatastoreServiceDescription>
Description of one datastore server plugin task: key, label, dataset type codes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatastoreServiceDescription(java.lang.String key, java.lang.String label, java.lang.String[] datasetTypeCodes, java.lang.String datastoreCode, DataStoreServiceKind serviceKind)Deprecated.exposed for tests
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DatastoreServiceDescription o)java.lang.String[]getDatasetTypeCodes()codes of dataset types which are handled by this pluginjava.lang.StringgetDatastoreCode()java.lang.StringgetDownloadURL()URL used to generate imagesjava.lang.StringgetKey()the unique key of the pluginjava.lang.StringgetLabel()the user friendly name of the pluginDataStoreServiceKindgetServiceKind()static booleanisMatching(DatastoreServiceDescription service, AbstractExternalData dataset)static DatastoreServiceDescriptionprocessing(java.lang.String key, java.lang.String label, java.lang.String[] datasetTypeCodes, java.lang.String datastoreCode)static DatastoreServiceDescriptionreporting(java.lang.String key, java.lang.String label, java.lang.String[] datasetTypeCodes, java.lang.String datastoreCode, ReportingPluginType type)voidsetDownloadURL(java.lang.String downloadURL)voidsetReportingPluginTypeOrNull(ReportingPluginType reportingPluginTypeOrNull)java.lang.StringtoString()ReportingPluginTypetryReportingPluginType()
-
-
-
Constructor Detail
-
DatastoreServiceDescription
@Deprecated public DatastoreServiceDescription(java.lang.String key, java.lang.String label, java.lang.String[] datasetTypeCodes, java.lang.String datastoreCode, DataStoreServiceKind serviceKind)Deprecated.exposed for tests
-
-
Method Detail
-
processing
public static DatastoreServiceDescription processing(java.lang.String key, java.lang.String label, java.lang.String[] datasetTypeCodes, java.lang.String datastoreCode)
-
reporting
public static DatastoreServiceDescription reporting(java.lang.String key, java.lang.String label, java.lang.String[] datasetTypeCodes, java.lang.String datastoreCode, ReportingPluginType type)
-
getKey
public java.lang.String getKey()
the unique key of the plugin- Specified by:
getKeyin interfaceIReportInformationProvider
-
getLabel
public java.lang.String getLabel()
the user friendly name of the plugin
-
getServiceKind
public DataStoreServiceKind getServiceKind()
-
getDatasetTypeCodes
public java.lang.String[] getDatasetTypeCodes()
codes of dataset types which are handled by this plugin
-
getDatastoreCode
public java.lang.String getDatastoreCode()
-
getDownloadURL
public java.lang.String getDownloadURL()
Description copied from interface:IReportInformationProviderURL used to generate images- Specified by:
getDownloadURLin interfaceIReportInformationProvider
-
setDownloadURL
public void setDownloadURL(java.lang.String downloadURL)
-
tryReportingPluginType
public ReportingPluginType tryReportingPluginType()
-
setReportingPluginTypeOrNull
public void setReportingPluginTypeOrNull(ReportingPluginType reportingPluginTypeOrNull)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isMatching
public static boolean isMatching(DatastoreServiceDescription service, AbstractExternalData dataset)
-
compareTo
public int compareTo(DatastoreServiceDescription o)
- Specified by:
compareToin interfacejava.lang.Comparable<DatastoreServiceDescription>
-
-