Class ArtifactProviderImplUtilities


  • public final class ArtifactProviderImplUtilities
    extends java.lang.Object
    • Constructor Detail

      • ArtifactProviderImplUtilities

        public ArtifactProviderImplUtilities()
    • Method Detail

      • canWriteToSink

        public static void canWriteToSink​(IArtifactSink sink)
        Checks if the given sink can be written to. This may not be the case if the sink has already been committed.
        Throws:
        java.lang.IllegalArgumentException - if the check fails.
        See Also:
        IArtifactSink.canBeginWrite()
      • canWriteCanonicalArtifactToSink

        public static void canWriteCanonicalArtifactToSink​(IArtifactSink artifactSink)
                                                    throws java.lang.IllegalArgumentException
        Checks if the given sink takes an artifact in canonical format. This may not be the case for instances of the sub-type IRawArtifactSink.
        Throws:
        java.lang.IllegalArgumentException - if the check fails
      • createMultiStatusWithFixedSeverity

        public static org.eclipse.core.runtime.MultiStatus createMultiStatusWithFixedSeverity​(int severity,
                                                                                              java.lang.String pluginId,
                                                                                              java.util.List<org.eclipse.core.runtime.IStatus> children,
                                                                                              java.lang.String message)