org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers
Class AbstractSoftwareManager
java.lang.Object
org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers.AbstractSoftwareManager
- All Implemented Interfaces:
- ISoftwareTypeManager, ISoftwareSubmissionManager
- Direct Known Subclasses:
- AnySoftwareSoftwareManager, GCubePatchSoftwareManager, GCubePluginSoftwareManager, GCubeWebServiceSoftwareManager, LibrarySoftwareManager, SoftwareRegistrationSoftwareManager, WebAppSoftwareManager
public abstract class AbstractSoftwareManager
- extends Object
- implements ISoftwareTypeManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICEARCHIVE_CLASSIFIER
protected static final String SERVICEARCHIVE_CLASSIFIER
- See Also:
- Constant Field Values
SERVICEARCHIVE_TYPE
protected static final String SERVICEARCHIVE_TYPE
- See Also:
- Constant Field Values
SNAPSHOT_SUFFIX
public static final String SNAPSHOT_SUFFIX
- See Also:
- Constant Field Values
AbstractSoftwareManager
public AbstractSoftwareManager()
setImportSession
public void setImportSession(ImportSession session)
- Specified by:
setImportSession in interface ISoftwareTypeManager
getImportSession
protected ImportSession getImportSession()
getTargetRepository
protected abstract IMavenRepositoryInfo getTargetRepository()
throws Exception
- Recover target maven repository info
- Returns:
- MavenRepositoryInfo object
- Throws:
Exception
getMavenCoordinates
protected MavenCoordinates getMavenCoordinates(ServiceProfile serviceProfile)
throws Exception
- Throws:
Exception
getReadmeContent
protected String getReadmeContent()
getInstallContent
protected String getInstallContent()
getMaintainersContent
protected String getMaintainersContent()
getChangelogContent
protected String getChangelogContent()
getLicenseContent
protected String getLicenseContent()
getMiscFiles
public ArrayList<Deliverable> getMiscFiles()
throws Exception
- Specified by:
getMiscFiles in interface ISoftwareTypeManager
- Throws:
Exception
getServiceProfile
public abstract String getServiceProfile(boolean withHeader)
throws Exception
- Specified by:
getServiceProfile in interface ISoftwareTypeManager
- Throws:
Exception
getPOM
public String getPOM(Package softwarePackage)
throws Exception
- Specified by:
getPOM in interface ISoftwareTypeManager
- Throws:
Exception
getPOM
public String getPOM(ServiceProfile serviceProfile)
throws Exception
- Specified by:
getPOM in interface ISoftwareTypeManager
- Throws:
Exception
submitSoftware
public IOperationProgress submitSoftware()
throws Exception
- Specified by:
submitSoftware in interface ISoftwareSubmissionManager
- Throws:
Exception
createSofwareSubmissionTask
protected abstract ISoftwareSubmissionTask createSofwareSubmissionTask()
Copyright © 2013. All Rights Reserved.