|
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 Ralph Krueger. */ package org.netbeans.modules.changelog.html; import java.util.*; import org.openide.*; import org.openide.util.*; /** * Holds server specific information for generating html output links. * * @author ralph */ public class ChangeLogHTMLService extends ServiceType { public static final String REVISION = "revisionURL"; //NOI18N public static final String DIFF = "diffURL"; //NOI18N public static final String PREFIX = "cvsRootPrefix"; //NOI18N /** Holds value of property cvsRootPrefix. */ private String cvsRootPrefix; /** Holds value of property diffURL. */ private String diffURL; /** Holds value of property revisionURL. */ private String revisionURL; private static final long serialVersionUID = -1717495349319475009L; public ChangeLogHTMLService() { } /** Get context help for this service type. * @return context help */ public HelpCtx getHelpCtx() { return new HelpCtx(ChangeLogHTMLService.class); } /** Getter for property cvsRootPrefix. * @return Value of property cvsRootPrefix. */ public String getCvsRootPrefix() { return this.cvsRootPrefix; } /** Setter for property cvsRootPrefix. * @param cvsRootPrefix New value of property cvsRootPrefix. */ public void setCvsRootPrefix(String cvsRootPrefix) { String old = this.cvsRootPrefix; this.cvsRootPrefix = cvsRootPrefix; firePropertyChange(PREFIX, old, cvsRootPrefix); } /** Getter for property diffURL. * @return Value of property diffURL. */ public String getDiffURL() { return this.diffURL; } /** Setter for property diffURL. * @param diffURL New value of property diffURL. */ public void setDiffURL(String diffURL) { String old = this.diffURL; this.diffURL = diffURL; firePropertyChange(DIFF, old, diffURL); } /** Getter for property revisionURL. * @return Value of property revisionURL. */ public String getRevisionURL() { return this.revisionURL; } /** Setter for property revisionURL. * @param revisionURL New value of property revisionURL. */ public void setRevisionURL(String revisionURL) { String old = this.revisionURL; this.revisionURL = revisionURL; firePropertyChange(REVISION, old, revisionURL); } public Object clone() { ChangeLogHTMLService changelog = new ChangeLogHTMLService(); changelog.setCvsRootPrefix(getCvsRootPrefix()); changelog.setDiffURL(getDiffURL()); changelog.setRevisionURL(getRevisionURL()); return changelog; } } |
... 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.