org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers
Class SoftwareRegistrationSoftwareManager

java.lang.Object
  extended by org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers.AbstractSoftwareManager
      extended by org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers.SoftwareRegistrationSoftwareManager
All Implemented Interfaces:
ISoftwareTypeManager, ISoftwareSubmissionManager

public class SoftwareRegistrationSoftwareManager
extends AbstractSoftwareManager


Field Summary
static String SERVICE_CLASS
           
 
Fields inherited from class org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers.AbstractSoftwareManager
SERVICEARCHIVE_CLASSIFIER, SERVICEARCHIVE_TYPE, SNAPSHOT_SUFFIX
 
Constructor Summary
SoftwareRegistrationSoftwareManager()
           
 
Method Summary
protected  ISoftwareSubmissionTask createSofwareSubmissionTask()
           
 ServiceProfile generateInitialSoftwareProfile()
           
protected  MavenCoordinates getMavenCoordinates()
           
 MavenCoordinates getMavenCoordinates(Package softwarePackage)
           
 ArrayList<Deliverable> getMiscFiles()
           
 String getServiceProfile(boolean withHeader)
           
 ISoftwareTypeInfo getSoftwareTypeInfo()
           
protected  IMavenRepositoryInfo getTargetRepository()
          Recover target maven repository info
 boolean isAvailableForScope(org.gcube.common.core.scope.GCUBEScope scope)
           
 
Methods inherited from class org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers.AbstractSoftwareManager
getChangelogContent, getImportSession, getInstallContent, getLicenseContent, getMaintainersContent, getMavenCoordinates, getPOM, getPOM, getReadmeContent, setImportSession, submitSoftware
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_CLASS

public static final String SERVICE_CLASS
See Also:
Constant Field Values
Constructor Detail

SoftwareRegistrationSoftwareManager

public SoftwareRegistrationSoftwareManager()
Method Detail

generateInitialSoftwareProfile

public ServiceProfile generateInitialSoftwareProfile()

getSoftwareTypeInfo

public ISoftwareTypeInfo getSoftwareTypeInfo()

getMavenCoordinates

protected MavenCoordinates getMavenCoordinates()
                                        throws Exception
Throws:
Exception

getServiceProfile

public String getServiceProfile(boolean withHeader)
                         throws Exception
Specified by:
getServiceProfile in interface ISoftwareTypeManager
Specified by:
getServiceProfile in class AbstractSoftwareManager
Throws:
Exception

getMiscFiles

public ArrayList<Deliverable> getMiscFiles()
                                    throws Exception
Specified by:
getMiscFiles in interface ISoftwareTypeManager
Overrides:
getMiscFiles in class AbstractSoftwareManager
Throws:
Exception

getTargetRepository

protected IMavenRepositoryInfo getTargetRepository()
                                            throws Exception
Description copied from class: AbstractSoftwareManager
Recover target maven repository info

Specified by:
getTargetRepository in class AbstractSoftwareManager
Returns:
MavenRepositoryInfo object
Throws:
Exception

isAvailableForScope

public boolean isAvailableForScope(org.gcube.common.core.scope.GCUBEScope scope)

getMavenCoordinates

public MavenCoordinates getMavenCoordinates(Package softwarePackage)
                                     throws Exception
Throws:
Exception

createSofwareSubmissionTask

protected ISoftwareSubmissionTask createSofwareSubmissionTask()
Specified by:
createSofwareSubmissionTask in class AbstractSoftwareManager


Copyright © 2013. All Rights Reserved.