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 int
currentID
private java.lang.String
description
private java.lang.String
name
private java.lang.String[]
supportedLocations
private XenonPropertyDescription[]
supportedProperties
-
Constructor Summary
Constructors Modifier Constructor Description protected
Adaptor(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.String
getDescription()
Get the description of the adaptor.java.lang.String
getName()
Get the name of the adaptor.protected java.lang.String
getNewUniqueID()
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:AdaptorDescription
Get the name of the adaptor.- Specified by:
getName
in interfaceAdaptorDescription
- Returns:
- the name of the adaptor.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:AdaptorDescription
Get the description of the adaptor.- Specified by:
getDescription
in interfaceAdaptorDescription
- Returns:
- the description of the adaptor.
-
getSupportedLocations
public java.lang.String[] getSupportedLocations()
Description copied from interface:AdaptorDescription
Get the supported locations for this adaptor.- Specified by:
getSupportedLocations
in interfaceAdaptorDescription
- Returns:
- the locations supported by this adaptor.
-
getSupportedProperties
public XenonPropertyDescription[] getSupportedProperties()
Description copied from interface:AdaptorDescription
Returns an array containing all properties this adaptor supports.- Specified by:
getSupportedProperties
in interfaceAdaptorDescription
- Returns:
- an array containing all properties this adaptor supports.
-
-