Package hudson.maven.reporters
Class MavenArtifact.CloseableArtifact
- java.lang.Object
-
- hudson.maven.reporters.MavenArtifact.CloseableArtifact
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- MavenArtifact
public static final class MavenArtifact.CloseableArtifact extends Object implements Closeable
Artifact
holder that can be released in afinally
-block.- Since:
- 2.0.3
-
-
Method Detail
-
get
public org.apache.maven.artifact.Artifact get()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-