Interface IPublishExecutor
-
- All Superinterfaces:
IRuntimeComponentExecutor
- All Known Implementing Classes:
PublishExecutor
public interface IPublishExecutor extends IRuntimeComponentExecutor
1C:Enterprise runtime component executor for infobase publication. Can be used to publish infobase and 1C:Enterprise installation instance or mobile application publication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
edit(IRuntimeComponent webExtension, WebServer webServer, Publication publication, String name)
Edits publication on the web server.void
publish(IRuntimeComponent webExtension, WebServer webServer, Publication publication, InfobaseReference infobase)
Publishes publication on the given web server.-
Methods inherited from interface com._1c.g5.v8.dt.platform.services.core.runtimes.execution.IRuntimeComponentExecutor
needComponent
-
-
-
-
Method Detail
-
publish
void publish(IRuntimeComponent webExtension, WebServer webServer, Publication publication, InfobaseReference infobase) throws WebServerAccessException
Publishes publication on the given web server.Also can register the given 1C:Enterprise runtime web extension on the given web server.
- Parameters:
webExtentions
- the 1C:Enterprise runtime web extension component to publish to web server ornull
if not requiredwebServer
- the web server to publish to, cannot benull
publication
- the publication to publish, cannot benull
infobase
- the publication infobase, can benull
if unknown- Throws:
WebServerAccessException
- if publish fails
-
edit
void edit(IRuntimeComponent webExtension, WebServer webServer, Publication publication, String name) throws WebServerAccessException
Edits publication on the web server. Searches publication by the given name. If not exists on the server, then do nothing.Overwrite old publication properties to the new values from the given publication.
- Parameters:
webExtentions
- the 1C:Enterprise runtime web extension component to publish to web server ornull
if not requiredwebServer
- the web server to publish to, cannot benull
publication
- the publication that contains new values for overwriting, cannot benull
name
- the name of publication for editing, cannot benull
or empty- Throws:
WebServerAccessException
- if editing fails
-
-