|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.modules.javacvs; import org.openide.util.NbBundle; import java.io.*; import java.util.*; import org.netbeans.lib.cvsclient.event.*; import org.netbeans.lib.cvsclient.command.*; import org.netbeans.lib.cvsclient.command.importcmd.*; /** This class implements the cvs import command. * * @author mkleint */ public class FsImport extends CvsCommand { private Map wrapperMap = new HashMap(); private String logMessage; private String module; private String releaseTag; private String vendorBranch; private String vendorTag; private KeywordSubstitutionOptions keywordSubstitutionOptions; /** Creates cvs status command. */ public FsImport() { super(); } /** * Compliant method to addWrapper. It replaces the whole list of cvswrappers. * The Map's structure should be following: * Key: instance of StringPattern(fileName wildpattern) * Value: instance of KeywordSubstitutionOptions */ public void setWrappers(Map wrapperMap) { this.wrapperMap = wrapperMap; } /** * Returns a map with all wrappers. * For map descriptions see setWrapper() */ public Map getWrappers() { return wrapperMap; } /** * Returns the keyword substitution option. */ public KeywordSubstitutionOptions getKeywordSubstitutionOptions() { return keywordSubstitutionOptions; } /** * Sets the keywords substitution option. */ public void setKeywordSubstitutionOptions(KeywordSubstitutionOptions keywordSubstitutionOptions) { this.keywordSubstitutionOptions = keywordSubstitutionOptions; } /** * Returns the release tag. */ public String getReleaseTag() { return releaseTag; } /** * Sets the necessary release tag. */ public void setReleaseTag(String releaseTag) { this.releaseTag = releaseTag; } /** * Returns the log message. */ public String getLogMessage() { return logMessage; } /** * Sets the log message. */ public void setLogMessage(String logMessage) { this.logMessage = logMessage; } /** * Returns the module (the in-repository path, where the files should be * stored. */ public String getModule() { return module; } /** * Sets the module (the in-repository path, where the files should be * stored). */ public void setModule(String module) { this.module = module; } /** * Returns the vendor branch. */ public String getVendorBranch() { return vendorBranch; } /** * Sets the vendor branch. * If null is set, the default branch 1.1.1 is used automatically. */ public void setVendorBranch(String vendorBranch) { this.vendorBranch = vendorBranch; } /** * Returns the vendor tag. */ public String getVendorTag() { return vendorTag; } /** * Sets the necessary vendor tag. */ public void setVendorTag(String vendorTag) { this.vendorTag = vendorTag; } } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.