Class InfobaseApplication
java.lang.Object
org.eclipse.core.runtime.PlatformObject
com.e1c.g5.dt.internal.applications.infobases.InfobaseApplication
- All Implemented Interfaces:
IApplication,ILifecycleAware,IInfobaseApplication,IUrlAccess,org.eclipse.core.runtime.IAdaptable
public class InfobaseApplication
extends org.eclipse.core.runtime.PlatformObject
implements IInfobaseApplication
The default implementation of
IInfobaseApplication.-
Field Summary
Fields inherited from interface com.e1c.g5.dt.applications.IApplication
CONTEXT_CLIENT_ARGUMENTS, CONTEXT_CLIENT_INSTALLATION, CONTEXT_CLIENT_TYPEFields inherited from interface com.e1c.g5.dt.applications.infobases.IInfobaseApplication
ATTRIBUTE_DEBUG_PORT -
Constructor Summary
ConstructorsConstructorDescriptionInfobaseApplication(String name, IApplicationType type, InfobaseReference infobase, org.eclipse.core.resources.IProject project) -
Method Summary
Modifier and TypeMethodDescriptionboolean<T> TgetAdapter(Class<T> adapter) Returns the parent application of this lifecycle aware object.Returns a list of application artifacts.getId()Returns the application unique id.Returns the infobase to run application with.getName()Returns the application localized name.org.eclipse.core.resources.IProjectReturns the parent project of the application.getType()Returns the application type.getUrl()Returns the optional available url accessURL.inthashCode()toString()
-
Constructor Details
-
InfobaseApplication
public InfobaseApplication(String name, IApplicationType type, InfobaseReference infobase, org.eclipse.core.resources.IProject project)
-
-
Method Details
-
getId
Description copied from interface:IApplicationReturns the application unique id.- Specified by:
getIdin interfaceIApplication- Specified by:
getIdin interfaceIUrlAccess- Returns:
- the application unique id, never
null
-
getName
Description copied from interface:IApplicationReturns the application localized name.- Specified by:
getNamein interfaceIApplication- Returns:
- the application localized name, never
null
-
getType
Description copied from interface:IApplicationReturns the application type.- Specified by:
getTypein interfaceIApplication- Returns:
- the application type, never
null - See Also:
-
getArtifacts
Description copied from interface:IApplicationReturns a list of application artifacts. May be empty.- Specified by:
getArtifactsin interfaceIApplication- Returns:
- a list of application artifacts, never
null
-
getInfobase
Description copied from interface:IInfobaseApplicationReturns the infobase to run application with.- Specified by:
getInfobasein interfaceIInfobaseApplication- Returns:
- the infobase to run application with, never
null
-
getProject
public org.eclipse.core.resources.IProject getProject()Description copied from interface:IApplicationReturns the parent project of the application.- Specified by:
getProjectin interfaceIApplication- Returns:
- the parent project of the application, never
null
-
getApplication
Description copied from interface:ILifecycleAwareReturns the parent application of this lifecycle aware object.- Specified by:
getApplicationin interfaceILifecycleAware- Specified by:
getApplicationin interfaceIUrlAccess- Returns:
- the parent application of this lifecycle aware object, never
null
-
getUrl
Description copied from interface:IUrlAccessReturns the optional available url accessURL. This method may return nothing if an application or application related entity does not have a valid configuration or if it is not running.- Specified by:
getUrlin interfaceIUrlAccess- Returns:
- the optional available accessible
URL - Throws:
ApplicationException- if endpointURLget error occurred
-
getAdapter
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classorg.eclipse.core.runtime.PlatformObject
-
hashCode
public int hashCode() -
equals
-
toString
-