public class BinaryOnlyArtifactWrapper extends BinaryEmittedArtifact
EmittedArtifact.Visibility
Constructor and Description |
---|
BinaryOnlyArtifactWrapper(String path,
EmittedArtifact artifact) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContents(TreeLogger logger)
Provides access to the contents of the EmittedResource.
|
long |
getLastModified()
Force subclasses to define.
|
compareToComparableArtifact, getComparableArtifactType, getPartialPath, getVisibility, hashCode, setVisibility, toString, writeTo
compareTo, equals, getLinker, isTransferableFromShards
$isInstance
public BinaryOnlyArtifactWrapper(String path, EmittedArtifact artifact)
public InputStream getContents(TreeLogger logger) throws UnableToCompleteException
EmittedArtifact
getContents
in class EmittedArtifact
UnableToCompleteException
public long getLastModified()
BinaryEmittedArtifact
getLastModified
in class BinaryEmittedArtifact
Copyright © 2018. All rights reserved.