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 Summary
ConstructorsConstructorDescriptionServerArtifact(org.eclipse.wst.server.core.IServer server, IApplication application) Creates an instance ofServerArtifact. -
Method Summary
Modifier 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
-
ServerArtifact
Creates an instance ofServerArtifact.- Parameters:
server- the parent WST server, cannot benullapplication- the parent application, cannot benull
-
-
Method Details
-
getAdapter
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable
-
getName
Description copied from interface:IApplicationArtifactReturns the application artifact localized name.- Specified by:
getNamein interfaceIApplicationArtifact- Returns:
- the application artifact localized name, never
null
-
getApplication
Description copied from interface:IApplicationArtifactReturns the parent application of the artifact.- Specified by:
getApplicationin interfaceIApplicationArtifact- Specified by:
getApplicationin interfaceILifecycleAware- Returns:
- the parent application of the artifact, never
null
-
getServer
public org.eclipse.wst.server.core.IServer getServer()Description copied from interface:IServerArtifactReturns the server to run application on.- Specified by:
getServerin interfaceIServerArtifact- Returns:
- the server to run application on, never
null
-
hashCode
public int hashCode() -
equals
-