net.sf.jeters.components
Class RegExReplacer.Replacement

java.lang.Object
  extended by net.sf.jeters.components.RegExReplacer.Replacement
All Implemented Interfaces:
RegExReplacer.ReplacementElement
Direct Known Subclasses:
RegExReplacer.CustomReplacement, RegExReplacer.RegExReplacement
Enclosing class:
RegExReplacer

public abstract static class RegExReplacer.Replacement
extends java.lang.Object
implements RegExReplacer.ReplacementElement

a single replacement


Field Summary
 java.lang.String description
          a string describing this replacement.
 int rating
          a rating of this replacement's importance (possible values: 0, positive integers).
 
Constructor Summary
RegExReplacer.Replacement()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

public java.lang.String description
a string describing this replacement. It is used for generating the MediaWiki comment.


rating

public int rating
a rating of this replacement's importance (possible values: 0, positive integers). It may be used to decide whether the user is asked for confirmation (the minimum rating for a user request depends on the settings). Therefore, larger and more "dangerous" edits should get a higher rating. It is also a factor for determining the order of the entries in the MediaWiki comment.

Constructor Detail

RegExReplacer.Replacement

public RegExReplacer.Replacement()