Class ServerArtifact
java.lang.Object
com.e1c.g5.dt.internal.applications.wst.ServerArtifact
- All Implemented Interfaces:
- IApplicationArtifact,- ILifecycleAware,- IServerArtifact,- org.eclipse.core.runtime.IAdaptable
The default implementation of 
IServerArtifact.- 
Constructor SummaryConstructorsConstructorDescriptionServerArtifact(org.eclipse.wst.server.core.IServer server, IApplication application) Creates an instance ofServerArtifact.
- 
Method SummaryModifier and TypeMethodDescriptionboolean<T> TgetAdapter(Class<T> adapter) Returns the parent application of the artifact.getName()Returns the application artifact localized name.org.eclipse.wst.server.core.IServerReturns the server to run application on.inthashCode()
- 
Constructor Details- 
ServerArtifactCreates an instance ofServerArtifact.- Parameters:
- server- the parent WST server, cannot be- null
- application- the parent application, cannot be- null
 
 
- 
- 
Method Details- 
getAdapter- Specified by:
- getAdapterin interface- org.eclipse.core.runtime.IAdaptable
 
- 
getNameDescription copied from interface:IApplicationArtifactReturns the application artifact localized name.- Specified by:
- getNamein interface- IApplicationArtifact
- Returns:
- the application artifact localized name, never null
 
- 
getApplicationDescription copied from interface:IApplicationArtifactReturns the parent application of the artifact.- Specified by:
- getApplicationin interface- IApplicationArtifact
- Specified by:
- getApplicationin interface- ILifecycleAware
- Returns:
- the parent application of the artifact, never null
 
- 
getServerpublic org.eclipse.wst.server.core.IServer getServer()Description copied from interface:IServerArtifactReturns the server to run application on.- Specified by:
- getServerin interface- IServerArtifact
- Returns:
- the server to run application on, never null
 
- 
hashCodepublic int hashCode()
- 
equals
 
-