|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.continuum.installation.DefaultInstallationService
@Service(value="installationService") public class DefaultInstallationService
Field Summary |
---|
Fields inherited from interface org.apache.maven.continuum.installation.InstallationService |
---|
ANT_TYPE, ENVVAR_TYPE, JDK_TYPE, MAVEN1_TYPE, MAVEN2_TYPE, ROLE |
Constructor Summary | |
---|---|
DefaultInstallationService()
|
Method Summary | |
---|---|
Installation |
add(Installation installation)
|
Installation |
add(Installation installation,
boolean automaticProfile)
|
void |
delete(Installation installation)
|
List<Installation> |
getAllInstallations()
|
List<String> |
getDefaultJdkInformations()
TODO replace with calling getExecutorConfiguratorVersion |
String |
getEnvVar(String type)
|
ExecutorConfigurator |
getExecutorConfigurator(String type)
|
List<String> |
getExecutorConfiguratorVersion(String path,
ExecutorConfigurator executorConfigurator,
Profile profile)
|
Installation |
getInstallation(int installationId)
|
List<String> |
getJdkInformations(Installation installation)
TODO replace with calling getExecutorConfiguratorVersion |
void |
initialize()
|
void |
update(Installation installation)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultInstallationService()
Method Detail |
---|
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public Installation add(Installation installation) throws InstallationException, AlreadyExistsInstallationException
add
in interface InstallationService
InstallationException
AlreadyExistsInstallationException
InstallationService.add(org.apache.maven.continuum.model.system.Installation)
public Installation add(Installation installation, boolean automaticProfile) throws InstallationException, AlreadyExistsProfileException, AlreadyExistsInstallationException
add
in interface InstallationService
InstallationException
AlreadyExistsProfileException
AlreadyExistsInstallationException
public void delete(Installation installation) throws InstallationException
delete
in interface InstallationService
InstallationException
InstallationService.delete(org.apache.maven.continuum.model.system.Installation)
public List<Installation> getAllInstallations() throws InstallationException
getAllInstallations
in interface InstallationService
InstallationException
InstallationService.getAllInstallations()
public Installation getInstallation(int installationId) throws InstallationException
getInstallation
in interface InstallationService
InstallationException
InstallationService.getInstallation(int)
public void update(Installation installation) throws InstallationException, AlreadyExistsInstallationException
update
in interface InstallationService
InstallationException
AlreadyExistsInstallationException
InstallationService.update(org.apache.maven.continuum.model.system.Installation)
public ExecutorConfigurator getExecutorConfigurator(String type)
getExecutorConfigurator
in interface InstallationService
InstallationService.getExecutorConfigurator(java.lang.String)
public String getEnvVar(String type)
getEnvVar
in interface InstallationService
InstallationService.getEnvVar(java.lang.String)
public List<String> getDefaultJdkInformations() throws InstallationException
getDefaultJdkInformations
in interface InstallationService
InstallationException
InstallationService.getDefaultJdkInformations()
public List<String> getJdkInformations(Installation installation) throws InstallationException
getJdkInformations
in interface InstallationService
InstallationException
InstallationService.getJdkInformations(org.apache.maven.continuum.model.system.Installation)
public List<String> getExecutorConfiguratorVersion(String path, ExecutorConfigurator executorConfigurator, Profile profile) throws InstallationException
getExecutorConfiguratorVersion
in interface InstallationService
executorConfigurator
- (ec)
InstallationException
InstallationService.getExecutorConfiguratorVersion(java.lang.String,org.apache.maven.continuum.execution.ExecutorConfigurator,Profile)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |