Package ch.ivyteam.ivy.lifecycle
Interface ILifecycle
-
- All Known Subinterfaces:
IApplicationConfigurationManager,ch.ivyteam.ivy.manager.IManager,IServer,IServerExtension
public interface ILifecycleAn interface that is implemented by classes that can be started and stopped.- Since:
- 04.12.2006
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Gets the name of the thing to startvoidstart(org.eclipse.core.runtime.IProgressMonitor monitor)Starts the thingvoidstop(org.eclipse.core.runtime.IProgressMonitor monitor)Stops the thing
-
-
-
Method Detail
-
start
void start(org.eclipse.core.runtime.IProgressMonitor monitor) throws ExceptionStarts the thing- Parameters:
monitor- optional progress monitor- Throws:
Exception- if start fails- API:
- This public API is available in Java.
-
stop
void stop(org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
Stops the thing- Parameters:
monitor- optional progress monitor- Throws:
Exception- if stop fails- API:
- This public API is available in Java.
-
getName
String getName()
Gets the name of the thing to start- Returns:
- name
- API:
- This public API is available in Java.
-
-