com.atlassian.bamboo.agent.classserver
Class ClassServerManifestImpl

java.lang.Object
  extended by com.atlassian.bamboo.agent.classserver.ClassServerManifestImpl
All Implemented Interfaces:
ClassServerManifest

public final class ClassServerManifestImpl
extends java.lang.Object
implements ClassServerManifest


Constructor Summary
ClassServerManifestImpl(java.util.Set<FileHashDescriptor> jarsToRemove, java.util.Set<JarDescriptor> jarsToAdd)
           
 
Method Summary
 java.util.Set<JarDescriptor> getJars()
           
 java.util.Set<FileHashDescriptor> getJarsToRemove()
           
 void write(java.util.zip.ZipOutputStream zipOutputStream)
          Writes the MANIFEST.DAT to the provided ZipOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassServerManifestImpl

public ClassServerManifestImpl(java.util.Set<FileHashDescriptor> jarsToRemove,
                               java.util.Set<JarDescriptor> jarsToAdd)
Method Detail

write

public void write(@NotNull
                  java.util.zip.ZipOutputStream zipOutputStream)
           throws java.io.IOException
Writes the MANIFEST.DAT to the provided ZipOutputStream

Specified by:
write in interface ClassServerManifest
Parameters:
zipOutputStream - to write to
Throws:
java.io.IOException - if an IO error occurs

getJarsToRemove

@NotNull
public java.util.Set<FileHashDescriptor> getJarsToRemove()
Specified by:
getJarsToRemove in interface ClassServerManifest
Returns:
jars to be removed on agent

getJars

@NotNull
public java.util.Set<JarDescriptor> getJars()
Specified by:
getJars in interface ClassServerManifest
Returns:
jars to be transferred to agent


Copyright © 2012 Atlassian. All Rights Reserved.