net.praqma.jenkins.configrotator.scm.clearcaseucm
Class ClearCaseUCMConfiguration

java.lang.Object
  extended by net.praqma.jenkins.configrotator.AbstractConfiguration<ClearCaseUCMConfigurationComponent>
      extended by net.praqma.jenkins.configrotator.scm.clearcaseucm.ClearCaseUCMConfiguration
All Implemented Interfaces:
Serializable

public class ClearCaseUCMConfiguration
extends AbstractConfiguration<ClearCaseUCMConfigurationComponent>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.praqma.jenkins.configrotator.AbstractConfiguration
description, list
 
Constructor Summary
ClearCaseUCMConfiguration()
           
ClearCaseUCMConfiguration(List<ClearCaseUCMConfigurationComponent> list)
           
 
Method Summary
 ClearCaseUCMConfiguration clone()
           
 List<ConfigRotatorChangeLogEntry> difference(ClearCaseUCMConfigurationComponent component, ClearCaseUCMConfigurationComponent other)
          Returns a list of files affected by the recent change.
 boolean equals(Object other)
           
static ClearCaseUCMConfiguration getConfigurationFromTargets(List<ClearCaseUCMTarget> targets, hudson.FilePath workspace, hudson.model.TaskListener listener)
          Parsing and loading the user-input config rotator configuration - targets in the GUI.
 String getDescription(hudson.model.AbstractBuild<?,?> build)
           
 net.praqma.clearcase.ucm.view.SnapshotView getView()
           
 void setView(net.praqma.clearcase.ucm.view.SnapshotView view)
           
 String toHtml()
           
 String toString()
           
 
Methods inherited from class net.praqma.jenkins.configrotator.AbstractConfiguration
basicHtml, getChangedComponent, getChangedComponentIndex, getList, getView
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClearCaseUCMConfiguration

public ClearCaseUCMConfiguration()

ClearCaseUCMConfiguration

public ClearCaseUCMConfiguration(List<ClearCaseUCMConfigurationComponent> list)
Method Detail

clone

public ClearCaseUCMConfiguration clone()
Specified by:
clone in class AbstractConfiguration<ClearCaseUCMConfigurationComponent>

setView

public void setView(net.praqma.clearcase.ucm.view.SnapshotView view)

getView

public net.praqma.clearcase.ucm.view.SnapshotView getView()

getConfigurationFromTargets

public static ClearCaseUCMConfiguration getConfigurationFromTargets(List<ClearCaseUCMTarget> targets,
                                                                    hudson.FilePath workspace,
                                                                    hudson.model.TaskListener listener)
                                                             throws ConfigurationRotatorException
Parsing and loading the user-input config rotator configuration - targets in the GUI. Returned configuration may not be valid for building, but the clear case components can load Throws ConfigurationRotatorException if targets is not parsed correctly or can not be loaded.

Parameters:
targets -
workspace -
listener -
Returns:
Throws:
ConfigurationRotatorException - if target can not be parsed, or if they can not be loaded with ClearCase
IOException

toString

public String toString()
Overrides:
toString in class AbstractConfiguration<ClearCaseUCMConfigurationComponent>

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toHtml

public String toHtml()
Specified by:
toHtml in class AbstractConfiguration<ClearCaseUCMConfigurationComponent>

getDescription

public String getDescription(hudson.model.AbstractBuild<?,?> build)
Overrides:
getDescription in class AbstractConfiguration<ClearCaseUCMConfigurationComponent>

difference

public List<ConfigRotatorChangeLogEntry> difference(ClearCaseUCMConfigurationComponent component,
                                                    ClearCaseUCMConfigurationComponent other)
                                             throws ConfigurationRotatorException
Returns a list of files affected by the recent change.

Specified by:
difference in class AbstractConfiguration<ClearCaseUCMConfigurationComponent>
Throws:
ConfigurationRotatorException


Copyright © 2004-2013. All Rights Reserved.