Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright (C) 2011 JFrog Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *  http://www.apache.org/licenses/LICENSE-2.0
  *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jfrog.hudson.release.scm;
Base interface for specific scm coordinators.

Author(s):
Yossi Shaul
public interface ScmCoordinator {
    
Called immediately after the coordinator is created.
    void prepare() throws IOExceptionInterruptedException;

    
Called before changing to release version.
Called after a change to release version.

Parameters:
modified
    void afterReleaseVersionChange(boolean modifiedthrows IOExceptionInterruptedException;

    
Called after a successful release build.
Called before changing to next development version.
Called after a change to the next development version.

Parameters:
modified
    void afterDevelopmentVersionChange(boolean modifiedthrows IOExceptionInterruptedException;

    
Called after the build has completed and the result was finalized.
    void buildCompleted() throws IOExceptionInterruptedException;

    
Called before a file is modified.

Parameters:
filePath The file path that is about to be modified.
    void edit(FilePath filePaththrows IOExceptionInterruptedException;
New to GrepCode? Check out our FAQ X