Package nl.esciencecenter.xenon.adaptors
Class Adaptor
- java.lang.Object
-
- nl.esciencecenter.xenon.adaptors.Adaptor
-
- All Implemented Interfaces:
AdaptorDescription
- Direct Known Subclasses:
FileAdaptor,SchedulerAdaptor
public abstract class Adaptor extends java.lang.Object implements AdaptorDescription
-
-
Field Summary
Fields Modifier and Type Field Description private static intcurrentIDprivate java.lang.Stringdescriptionprivate java.lang.Stringnameprivate java.lang.String[]supportedLocationsprivate XenonPropertyDescription[]supportedProperties
-
Constructor Summary
Constructors Modifier Constructor Description protectedAdaptor(java.lang.String name, java.lang.String description, java.lang.String[] locations, XenonPropertyDescription[] properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Get the description of the adaptor.java.lang.StringgetName()Get the name of the adaptor.protected java.lang.StringgetNewUniqueID()java.lang.String[]getSupportedLocations()Get the supported locations for this adaptor.XenonPropertyDescription[]getSupportedProperties()Returns an array containing all properties this adaptor supports.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.esciencecenter.xenon.AdaptorDescription
getSupportedCredentials
-
-
-
-
Field Detail
-
currentID
private static int currentID
-
name
private final java.lang.String name
-
description
private final java.lang.String description
-
supportedLocations
private final java.lang.String[] supportedLocations
-
supportedProperties
private final XenonPropertyDescription[] supportedProperties
-
-
Constructor Detail
-
Adaptor
protected Adaptor(java.lang.String name, java.lang.String description, java.lang.String[] locations, XenonPropertyDescription[] properties)
-
-
Method Detail
-
getNewUniqueID
protected java.lang.String getNewUniqueID()
-
getName
public java.lang.String getName()
Description copied from interface:AdaptorDescriptionGet the name of the adaptor.- Specified by:
getNamein interfaceAdaptorDescription- Returns:
- the name of the adaptor.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:AdaptorDescriptionGet the description of the adaptor.- Specified by:
getDescriptionin interfaceAdaptorDescription- Returns:
- the description of the adaptor.
-
getSupportedLocations
public java.lang.String[] getSupportedLocations()
Description copied from interface:AdaptorDescriptionGet the supported locations for this adaptor.- Specified by:
getSupportedLocationsin interfaceAdaptorDescription- Returns:
- the locations supported by this adaptor.
-
getSupportedProperties
public XenonPropertyDescription[] getSupportedProperties()
Description copied from interface:AdaptorDescriptionReturns an array containing all properties this adaptor supports.- Specified by:
getSupportedPropertiesin interfaceAdaptorDescription- Returns:
- an array containing all properties this adaptor supports.
-
-