Class AbstractPublicationStatusHandler.AbstractPublishOperation

  • All Implemented Interfaces:
    org.eclipse.jface.operation.IRunnableWithProgress
    Enclosing class:
    AbstractPublicationStatusHandler<T extends Publication>

    protected abstract class AbstractPublicationStatusHandler.AbstractPublishOperation
    extends Object
    implements org.eclipse.jface.operation.IRunnableWithProgress
    Publish given publication with given 1C:Enterprise Runtime installation runnable. Sublcasses may extend and use.
    • Method Detail

      • run

        public void run​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        run in interface org.eclipse.jface.operation.IRunnableWithProgress
      • getResult

        public PublicationResult getResult()
        Returns publication result.
        Returns:
        publication result, never null
      • publish

        protected abstract void publish​(T publication,
                                        InfobaseReference infobase,
                                        IResolvableRuntimeInstallation resolvable)
                                 throws WebServerAccessException
        Publish given instance of publication using given 1C:Enterprise Runtime.
        Parameters:
        publication - the publication instance to publish, cannot be null
        infobase - the infobase to publish, cannot be null
        resolvable - the resolvable 1C:Enterprise Runtime to use, cannot be null
        Throws:
        WebServerAccessException - if publication fails