org.gcube.vremanagement.softwaregateway.impl.packages
Class GCubePackage

java.lang.Object
  extended by org.gcube.vremanagement.softwaregateway.impl.packages.Package
      extended by org.gcube.vremanagement.softwaregateway.impl.packages.GCubePackage

public class GCubePackage
extends Package


Field Summary
protected  org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Fields inherited from class org.gcube.vremanagement.softwaregateway.impl.packages.Package
is, rm, rmf, scope
 
Constructor Summary
GCubePackage(Coordinates coordinates)
           
 
Method Summary
 Coordinates getCoordinates()
          Return the current coordinates
 String getDependencies()
          Return an XML document that contains resolved and missing dependencies ex:
 String getDocLocation()
          get javadoc location of the package
 String getLocation()
          Retrieve location of Package
 List<GCubePackage> getPackages()
          This method retrieves all packages that matches with the coordinates
 List<GCubePackage> getPlugins()
          this method retrieves all plugin coordinates matches with the coordinates
 String getSALocation()
          Retrieve location of softwareArchive identifies by coordinates
 String register()
          Register a profile in IS.
 void unregister()
          Unregister a profile in IS.
 
Methods inherited from class org.gcube.vremanagement.softwaregateway.impl.packages.Package
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

GCubePackage

public GCubePackage(Coordinates coordinates)
             throws BadCoordinatesException
Throws:
BadCoordinatesException
Method Detail

getLocation

public String getLocation()
                   throws ServiceNotAvaiableFault
Retrieve location of Package

Specified by:
getLocation in class Package
Throws:
ServiceNotAvaiableFault

getDocLocation

public String getDocLocation()
                      throws ServiceNotAvaiableFault
get javadoc location of the package

Returns:
Throws:
ServiceNotAvaiableFault

getSALocation

public String getSALocation()
                     throws ServiceNotAvaiableFault
Retrieve location of softwareArchive identifies by coordinates

Specified by:
getSALocation in class Package
Throws:
ServiceNotAvaiableFault

getDependencies

public String getDependencies()
                       throws ServiceNotAvaiableFault
Return an XML document that contains resolved and missing dependencies ex:

Specified by:
getDependencies in class Package
Throws:
ServiceNotAvaiableFault

getPackages

public List<GCubePackage> getPackages()
                               throws ServiceNotAvaiableFault
This method retrieves all packages that matches with the coordinates

Specified by:
getPackages in class Package
Throws:
ServiceNotAvaiableFault

getPlugins

public List<GCubePackage> getPlugins()
                              throws ServiceNotAvaiableFault
this method retrieves all plugin coordinates matches with the coordinates

Specified by:
getPlugins in class Package
Throws:
ServiceNotAvaiableFault

register

public String register()
Register a profile in IS. This method isn't implemented for this class. The real implementation is in the Register class

Specified by:
register in class Package

unregister

public void unregister()
                throws ServiceNotAvaiableFault
Unregister a profile in IS. This method isn't implemented for this class. The real implementation is in the Register class

Specified by:
unregister in class Package
Throws:
ServiceNotAvaiableFault

getCoordinates

public Coordinates getCoordinates()
Return the current coordinates

Overrides:
getCoordinates in class Package


Copyright © 2013. All Rights Reserved.