public final class ArtifactProviderImplUtilities extends Object
Constructor and Description |
---|
ArtifactProviderImplUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
canWriteCanonicalArtifactToSink(IArtifactSink artifactSink)
Checks if the given sink takes an artifact in canonical format.
|
static void |
canWriteToSink(IArtifactSink sink)
Checks if the given sink can be written to.
|
static org.eclipse.core.runtime.MultiStatus |
createMultiStatusWithFixedSeverity(int severity,
String pluginId,
List<org.eclipse.core.runtime.IStatus> children,
String message) |
public static void canWriteToSink(IArtifactSink sink)
IllegalArgumentException
- if the check fails.IArtifactSink.canBeginWrite()
public static void canWriteCanonicalArtifactToSink(IArtifactSink artifactSink) throws IllegalArgumentException
IRawArtifactSink
.IllegalArgumentException
- if the check failsCopyright © 2008–2014 Eclipse Foundation. All rights reserved.