Class AbstractBehaviour
java.lang.Object
org.wso2.carbon.deployment.synchronizer.git.internal.AbstractBehaviour
- Direct Known Subclasses:
DefaultBehaviour,S2Behaviour
Defines abstractions for behaviours that differ across various deployments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanSpecify whether to synchronize any initial artifactsbooleanSpecify sending/not sending SynchronizeRepositoryRequest from carbon kernel
-
Constructor Details
-
AbstractBehaviour
public AbstractBehaviour()
-
-
Method Details
-
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
-