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

## Class S2Behaviour

- java.lang.Object
- - org.wso2.carbon.deployment.synchronizer.git.internal.AbstractBehaviour
  - - org.wso2.carbon.deployment.synchronizer.git.stratos2.S2Behaviour

-     public class S2Behaviour
      extends AbstractBehaviour

  Stratos2 specific behaviour

- - ### Constructor Summary

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

  - ### Method Summary

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

    - #### S2Behaviour

          public S2Behaviour()

  - ### Method Detail

    - #### requireInitialLocalArtifactSync

          public boolean requireInitialLocalArtifactSync()

      Description copied from class: `AbstractBehaviour`
      Specify whether to synchronize any initial artifacts
      Specified by:
        `requireInitialLocalArtifactSync` in class `AbstractBehaviour`
      Returns:
        true if initial local artifacts must be synced, else false

    - #### requireSynchronizeRepositoryRequest

          public boolean requireSynchronizeRepositoryRequest()

      Description copied from class: `AbstractBehaviour`
      Specify sending/not sending SynchronizeRepositoryRequest from carbon kernel
      Overrides:
        `requireSynchronizeRepositoryRequest` in class `AbstractBehaviour`
      Returns:
        true if SynchronizeRepositoryRequest should be sent, else false