Class ValidationStatusAdapter

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

    public class ValidationStatusAdapter
    extends org.eclipse.emf.common.notify.impl.AdapterImpl
    ValidationStatusAdapter contains information about all warnings and errors in publication instance, that will be read by the publication configuration file and / or web server configuration file.
    Information about validation stores in the class as IStatus.

    ValidationStatusAdapter is intended be stored in adapters within Publication as EMF adapter.

    • Constructor Detail

      • ValidationStatusAdapter

        public ValidationStatusAdapter​(org.eclipse.core.runtime.IStatus status)
        Constructor of ValidationStatusAdapter.
        status - the validation status, or null if not validated yet
    • Method Detail

      • getStatus

        public org.eclipse.core.runtime.IStatus getStatus()
        Returns validation status of Publication.
        the validations status which contains information about errors and warnings of the publication or null if not validated yet
      • setStatus

        public void setStatus​(org.eclipse.core.runtime.IStatus status)
        Sets validation status of Publication.
        status - the validation status to set, cannot be null