com.atlassian.bamboo.v2.build.agent.remote.event
Class KillAgentOnFingerprintMismatchListener

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.remote.event.KillAgentOnFingerprintMismatchListener
All Implemented Interfaces:
InlineEventListener, com.atlassian.event.EventListener

public class KillAgentOnFingerprintMismatchListener
extends java.lang.Object
implements InlineEventListener

Verfies if the fingerprint from the server. If it has, it'll cause the agent to stop and an agent panic.


Constructor Summary
KillAgentOnFingerprintMismatchListener(RemoteAgent remoteAgent, ExecutableBuildAgent executableBuildAgent)
           
 
Method Summary
 java.lang.Class[] getHandledEventClasses()
           
 void handleEvent(com.atlassian.event.Event event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KillAgentOnFingerprintMismatchListener

public KillAgentOnFingerprintMismatchListener(@NotNull
                                              RemoteAgent remoteAgent,
                                              @NotNull
                                              ExecutableBuildAgent executableBuildAgent)
Method Detail

handleEvent

public void handleEvent(com.atlassian.event.Event event)
Specified by:
handleEvent in interface com.atlassian.event.EventListener

getHandledEventClasses

public java.lang.Class[] getHandledEventClasses()
Specified by:
getHandledEventClasses in interface com.atlassian.event.EventListener


Copyright © 2010 Atlassian. All Rights Reserved.