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_TYPE
Fields 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> T
getAdapter
(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.IProject
Returns the parent project of the application.getType()
Returns the application type.getUrl()
Returns the optional available url accessURL
.int
hashCode()
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:IApplication
Returns the application unique id.- Specified by:
getId
in interfaceIApplication
- Specified by:
getId
in interfaceIUrlAccess
- Returns:
- the application unique id, never
null
-
getName
Description copied from interface:IApplication
Returns the application localized name.- Specified by:
getName
in interfaceIApplication
- Returns:
- the application localized name, never
null
-
getType
Description copied from interface:IApplication
Returns the application type.- Specified by:
getType
in interfaceIApplication
- Returns:
- the application type, never
null
- See Also:
-
getArtifacts
Description copied from interface:IApplication
Returns a list of application artifacts. May be empty.- Specified by:
getArtifacts
in interfaceIApplication
- Returns:
- a list of application artifacts, never
null
-
getInfobase
Description copied from interface:IInfobaseApplication
Returns the infobase to run application with.- Specified by:
getInfobase
in interfaceIInfobaseApplication
- Returns:
- the infobase to run application with, never
null
-
getProject
public org.eclipse.core.resources.IProject getProject()Description copied from interface:IApplication
Returns the parent project of the application.- Specified by:
getProject
in interfaceIApplication
- Returns:
- the parent project of the application, never
null
-
getApplication
Description copied from interface:ILifecycleAware
Returns the parent application of this lifecycle aware object.- Specified by:
getApplication
in interfaceILifecycleAware
- Specified by:
getApplication
in interfaceIUrlAccess
- Returns:
- the parent application of this lifecycle aware object, never
null
-
getUrl
Description copied from interface:IUrlAccess
Returns 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:
getUrl
in interfaceIUrlAccess
- Returns:
- the optional available accessible
URL
- Throws:
ApplicationException
- if endpointURL
get error occurred
-
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classorg.eclipse.core.runtime.PlatformObject
-
hashCode
public int hashCode() -
equals
-
toString
-