Package com._1c.g5.v8.dt.launching.core
Class ApplicationPrepareRequest
- java.lang.Object
-
- com._1c.g5.v8.dt.launching.core.ApplicationPrepareRequest
-
public class ApplicationPrepareRequest extends Object
Request object for the application launch validity check.
-
-
Constructor Summary
Constructors Constructor Description ApplicationPrepareRequest(IApplication application, org.eclipse.core.resources.IProject project, ApplicationPublicationKind publicationKind)
Creates an instance ofApplicationPrepareRequest
.ApplicationPrepareRequest(org.eclipse.core.resources.IProject project, ApplicationPublicationKind publicationKind)
Creates an instance ofApplicationPrepareRequest
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<IApplication>
getApplication()
Returns the request application.ApplicationPublicationKind
getApplicationPublicationKind()
Returns the request application publication kind.Optional<URL>
getDebugUrl()
Returns the request debug URL.Optional<IResolvableRuntimeInstallation>
getInstallation()
Returns the request 1C:Enterprise resolvable installation.org.eclipse.core.resources.IProject
getProject()
Returns the request project.void
setDebugUrl(URL debugUrl)
Sets the request debug URL.void
setInstallation(IResolvableRuntimeInstallation installation)
Sets the request 1C:Enterprise resolvable installation.
-
-
-
Constructor Detail
-
ApplicationPrepareRequest
public ApplicationPrepareRequest(org.eclipse.core.resources.IProject project, ApplicationPublicationKind publicationKind)
Creates an instance ofApplicationPrepareRequest
.- Parameters:
project
- the context project, cannot benull
publicationKind
- the application publication kind, cannot benull
-
ApplicationPrepareRequest
public ApplicationPrepareRequest(IApplication application, org.eclipse.core.resources.IProject project, ApplicationPublicationKind publicationKind)
Creates an instance ofApplicationPrepareRequest
.- Parameters:
application
- an existing application, cannot benull
project
- the context project, cannot benull
publicationKind
- the application publication kind, cannot benull
-
-
Method Detail
-
getApplication
public Optional<IApplication> getApplication()
Returns the request application.- Returns:
- the request application
-
getProject
public org.eclipse.core.resources.IProject getProject()
Returns the request project.- Returns:
- the request project, never
null
-
getApplicationPublicationKind
public ApplicationPublicationKind getApplicationPublicationKind()
Returns the request application publication kind.- Returns:
- the request application publication kind, never
null
-
getInstallation
public Optional<IResolvableRuntimeInstallation> getInstallation()
Returns the request 1C:Enterprise resolvable installation.- Returns:
- the request 1C:Enterprise resolvable installation
-
setInstallation
public void setInstallation(IResolvableRuntimeInstallation installation)
Sets the request 1C:Enterprise resolvable installation.
-
getDebugUrl
public Optional<URL> getDebugUrl()
Returns the request debug URL.- Returns:
- the request debug URL
-
setDebugUrl
public void setDebugUrl(URL debugUrl)
Sets the request debug URL.- Parameters:
the
- request debug URL, cannot benull
-
-