Package org.wso2.carbon.deployment.synchronizer.git.internal

## Class AbstractBehaviour

- java.lang.Object
- - 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

    Constructors
    Constructor | Description
    --- | ---
    `AbstractBehaviour()` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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