org.gcube.informationsystem.glitebridge.harvester.resource
Class StorageElementHarvester
java.lang.Object
org.gcube.informationsystem.glitebridge.harvester.resource.StorageElementHarvester
public abstract class StorageElementHarvester
- extends java.lang.Object
- Author:
- Luca Frosini (ISTI-CNR)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageElementHarvester
public StorageElementHarvester()
harvestDetails
public static java.util.List<KStorageElement> harvestDetails(KeyValueCouple<java.lang.String,java.lang.String>... couples)
throws java.lang.Exception
- Parameters:
couples
- of key value to apply to baseDN query
- Returns:
- the List of KStorageElement harvested
- Throws:
java.lang.Exception
- if fails
harvestStorageElementStatus
public static java.lang.String harvestStorageElementStatus(java.lang.String siteName)
throws java.lang.Exception
- Parameters:
siteName
- site Name to harvest the status
- Returns:
- String
- Throws:
java.lang.Exception
- if fails
getStatus
public static Status getStatus(java.lang.String siteName,
java.lang.String id)
throws java.lang.Exception
- Parameters:
siteName
- site Name to harvest the statusid
- Storage Element ID
- Returns:
- Status
- Throws:
java.lang.Exception
- if fails