|
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; /** This class implements the cvs tag command. * @author mkleint */ public class FsTag extends CvsCommand { private boolean checkThatUnmodified; private boolean deleteTag; private boolean makeBranchTag; private boolean overrideExistingTag; private String tag; private String tagByDate; private String tagByRevision; /** * to be recursive is default behaviour of command. */ private boolean recursive = true; /** Creates new CvsTag instance. */ protected FsTag() { super(); } /** Returns true if checking for unmodified files is enabled. (-c switch) */ public boolean isCheckThatUnmodified() { return checkThatUnmodified; } /** Enables the check for unmodified files. (-c) */ public void setCheckThatUnmodified(boolean checkThatUnmodified) { this.checkThatUnmodified = checkThatUnmodified; } /** Returnes true if the tag should be deleted (-d switch) */ public boolean isDeleteTag() { return deleteTag; } /** Sets whether the tag should be deleted (true) (-d switch) */ public void setDeleteTag(boolean deleteTag) { this.deleteTag = deleteTag; } /** Returns true if the tag should be a branch tag. (-b switch) */ public boolean isMakeBranchTag() { return makeBranchTag; } /** Sets whether the tag should be a branch tag. (-b switch) */ public void setMakeBranchTag(boolean makeBranchTag) { this.makeBranchTag = makeBranchTag; } /** Returns true to indicate that existing tag will be overridden. (-f switch) */ public boolean isOverrideExistingTag() { return overrideExistingTag; } /** Sets whether existing tags should be overridden. (-f switch) */ public void setOverrideExistingTag(boolean overrideExistingTag) { this.overrideExistingTag = overrideExistingTag; } /** Returns the tag that should be added or deleted. */ public String getTag() { return tag; } /** Sets the tag that should be added or deleted. */ public void setTag(String tag) { this.tag = tag; } /** Returns the latest date of a revision to be tagged. (-D switch) * @return date value. the latest Revision not later ten date is tagged. */ public String getTagByDate() { return tagByDate; } /** * Sets the latest date of a revision to be tagged. (-D switch) * @param tagDate New value of property tagDate. */ public void setTagByDate(String tagDate) { tagByDate = tagDate; } /** Sets the latest date of a revision to be tagged. Can be both a number and a tag. (-r switch) * @return Value of property tagRevision. */ public String getTagByRevision() { return tagByRevision; } /** Sets the latest date of a revision to be tagged. Can be both a number and a tag. (-r switch) * @param tagRevision New value of property tagRevision. */ public void setTagByRevision(String tagRevision) { tagByRevision = tagRevision; } /** Sets recursive (-R switch) or local (-l switch) behaviour. */ public void setRecursive(boolean recursive) { this.recursive = recursive; } /** Returns recursive (-R switch) or local (-l switch) behaviour. */ public boolean isRecursive() { return recursive; } } |
... 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.