Class DeleteUnusedGitCacheDirectoriesOnAgentMessage
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.messages.AbstractBambooAgentMessage
-
- com.atlassian.bamboo.plugins.git.messages.DeleteUnusedGitCacheDirectoriesOnAgentMessage
-
- All Implemented Interfaces:
BambooAgentMessage
,RemoteBambooMessage
,Serializable
public class DeleteUnusedGitCacheDirectoriesOnAgentMessage extends AbstractBambooAgentMessage implements RemoteBambooMessage
Message carrying active git cache SHAs in order to remove all other unused caches.- Since:
- 2.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeleteUnusedGitCacheDirectoriesOnAgentMessage(Iterable<String> usedSHAs, GitCacheDirectoryUtils gitCacheDirectoryUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
deliver()
Delivers the message to the appropriate object in the local virtual machine.-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.messages.AbstractBambooAgentMessage
getComponent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.messages.BambooAgentMessage
shouldBeSentDuringHeartAttack
-
-
-
-
Constructor Detail
-
DeleteUnusedGitCacheDirectoriesOnAgentMessage
public DeleteUnusedGitCacheDirectoriesOnAgentMessage(Iterable<String> usedSHAs, GitCacheDirectoryUtils gitCacheDirectoryUtils)
-
-
Method Detail
-
deliver
public Object deliver()
Description copied from interface:BambooAgentMessage
Delivers the message to the appropriate object in the local virtual machine.- Specified by:
deliver
in interfaceBambooAgentMessage
- Returns:
- an optional reply to message (including error-reporting messages)
-
-