org.wso2.carbon.deployment.synchronizer.git.internal
Class AbstractBehaviour

java.lang.Object
  extended by org.wso2.carbon.deployment.synchronizer.git.internal.AbstractBehaviour
Direct Known Subclasses:
DefaultBehaviour, S2Behaviour

public abstract class AbstractBehaviour
extends Object

Defines abstractions for behaviours that differ across various deployments


Constructor Summary
AbstractBehaviour()
           
 
Method Summary
abstract  boolean requireInitialLocalArtifactSync()
          Specify whether to synchronize any initial artifacts
 boolean requireSynchronizeRepositoryRequest()
          Specify sending/not sending SynchronizeRepositoryRequest from carbon kernel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBehaviour

public AbstractBehaviour()
Method Detail

requireInitialLocalArtifactSync

public abstract boolean requireInitialLocalArtifactSync()
Specify whether to synchronize any initial artifacts

Returns:
true if initial local artifacts must be synced, else false

requireSynchronizeRepositoryRequest

public boolean requireSynchronizeRepositoryRequest()
Specify sending/not sending SynchronizeRepositoryRequest from carbon kernel

Returns:
true if SynchronizeRepositoryRequest should be sent, else false


Copyright © 2015 WSO2. All rights reserved.