Class ClassServerManifestImpl
- java.lang.Object
-
- com.atlassian.bamboo.agent.classserver.ClassServerManifestImpl
-
- All Implemented Interfaces:
ClassServerManifest
public final class ClassServerManifestImpl extends Object implements ClassServerManifest
-
-
Constructor Summary
Constructors Constructor Description ClassServerManifestImpl(Set<FileHashDescriptor> jarsToRemove, Set<JarDescriptor> jarsToAdd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Set<JarDescriptor>getJars()@NotNull Set<FileHashDescriptor>getJarsToRemove()voidwrite(@NotNull ZipOutputStream zipOutputStream)Writes the MANIFEST.DAT to the providedZipOutputStream
-
-
-
Constructor Detail
-
ClassServerManifestImpl
public ClassServerManifestImpl(Set<FileHashDescriptor> jarsToRemove, Set<JarDescriptor> jarsToAdd)
-
-
Method Detail
-
write
public void write(@NotNull @NotNull ZipOutputStream zipOutputStream) throws IOExceptionWrites the MANIFEST.DAT to the providedZipOutputStream- Specified by:
writein interfaceClassServerManifest- Parameters:
zipOutputStream- to write to- Throws:
IOException- if an IO error occurs
-
getJarsToRemove
@NotNull public @NotNull Set<FileHashDescriptor> getJarsToRemove()
- Specified by:
getJarsToRemovein interfaceClassServerManifest- Returns:
- jars to be removed on agent
-
getJars
@NotNull public @NotNull Set<JarDescriptor> getJars()
- Specified by:
getJarsin interfaceClassServerManifest- Returns:
- jars to be transferred to agent
-
-