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()
void
write(@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 IOException
Writes the MANIFEST.DAT to the providedZipOutputStream
- Specified by:
write
in interfaceClassServerManifest
- Parameters:
zipOutputStream
- to write to- Throws:
IOException
- if an IO error occurs
-
getJarsToRemove
@NotNull public @NotNull Set<FileHashDescriptor> getJarsToRemove()
- Specified by:
getJarsToRemove
in interfaceClassServerManifest
- Returns:
- jars to be removed on agent
-
getJars
@NotNull public @NotNull Set<JarDescriptor> getJars()
- Specified by:
getJars
in interfaceClassServerManifest
- Returns:
- jars to be transferred to agent
-
-