\AssetCommitterInterface
Synopsis
interface AssetCommitterInterface
{
- // methods
- public void CommitFileCreation()
- public void CommitFileReplacement()
- public void CommitFileDeletion()
- public void CommitFileRenaming()
- public bool isPushingEnabled()
- public void PushToRemoteRepository()
- public bool hasCreatedNewCommits()
Methods
public
- CommitFileCreation()
- CommitFileDeletion()
- CommitFileRenaming()
- CommitFileReplacement()
- PushToRemoteRepository() — Performs the process of delivering new commits to a configured remote repository. Takes no parameters as the repository should be configured in a way defined by the subclass itself.
- hasCreatedNewCommits() — Indicates whether there are any new commits created by the AssetCommitter subclass that can be pushed to a remote repository.
- isPushingEnabled() — The AssetCommitter subclass should have a configuration option that can be used to enable/disable pushing new commits to a remote repository. This method should read the configuration value and indicate if pushing is enabled. The actual parameters used in the pushing process are not needed to be available outside of the AssetCommitter subclass, because the subclass will perform the actual pushing process completely when the PushToRemoteRepository() method gets called.