Skip to content

Commit 283550d

Browse files
committed
Deprecate classes/interface in package name.herlin for removal
1 parent ca2736d commit 283550d

File tree

10 files changed

+29
-5
lines changed

10 files changed

+29
-5
lines changed

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/AbstractProcessableCommand.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
* but are explicitly executed by a processor which acts as an execution
3030
* environment.
3131
* @see name.herlin.command.CommandProcessor for more details on processor.
32+
* @deprecated This class will be removed with the next major version of the PMD Plugin.
3233
*/
34+
@Deprecated
3335
public abstract class AbstractProcessableCommand implements Command {
3436

3537
private static final long serialVersionUID = 1L;

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/Command.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323

2424
/**
2525
* A command interface
26+
* @deprecated This interface will be removed with the next major version of the PMD Plugin.
2627
*/
28+
@Deprecated
2729
public interface Command extends java.io.Serializable {
2830

2931
/**

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/CommandException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323

2424
/**
2525
* Root exception of the command framework
26+
* @deprecated This class will be removed with the next major version of the PMD Plugin.
2627
*/
28+
@Deprecated
2729
public class CommandException extends Exception {
2830

2931
private static final long serialVersionUID = 1L;

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/CommandProcessor.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@
2121

2222
package name.herlin.command;
2323

24+
import java.rmi.Remote;
25+
2426
/**
2527
* Command Processor interface. A command processor implements a way to execute
2628
* a processable command. For instance the default command processor simply call
2729
* the execute method of the command. We could imagine a remote command
2830
* processor that could sent the command to a remote system, execute the command
2931
* and send back the result. The trick is that the command doesn't know where
3032
* and how it will be executed.
33+
*
34+
* @deprecated This interface will be removed with the next major version of the PMD Plugin.
3135
*/
32-
import java.rmi.Remote;
33-
36+
@Deprecated
3437
public interface CommandProcessor extends Remote {
3538

3639
/**

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/CommandProcessorStrategy.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@
3232
* class:<br>
3333
* <pre>
3434
* strategy.class = class for the concrete strategy
35-
* </pre>
35+
* </pre>
36+
*
37+
* @deprecated This interface will be removed with the next major version of the PMD Plugin.
3638
*/
39+
@Deprecated
3740
public interface CommandProcessorStrategy {
3841
/**
3942
* Name of the bundle. This is "properties.CommandProcessorStrategy" by

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/DefaultCommandProcessor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929
/**
3030
* Default command processor implementation. This processor simply call the
3131
* execute method of the command.
32+
*
33+
* @deprecated This class will be removed with the next major version of the PMD Plugin.
3234
*/
33-
35+
@Deprecated
3436
public class DefaultCommandProcessor implements CommandProcessor {
3537
private static final Logger LOG = Logger.getLogger(DefaultCommandProcessor.class);
3638

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/DefaultCommandProcessorStrategy.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
* to search for the command among the registered commands (from the bundle). If
3232
* not found, query the command itself its preferred processor. If none, return
3333
* the framework default command processor.
34+
*
35+
* @deprecated This class will be removed with the next major version of the PMD Plugin.
3436
*/
37+
@Deprecated
3538
public class DefaultCommandProcessorStrategy implements CommandProcessorStrategy {
3639
private static final CommandProcessor DEFAULT_COMMAND_PROCESSOR = new DefaultCommandProcessor();
3740
private final Map<String, String> registeredCommandProcessors = new Hashtable<String, String>();

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/Timer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
*
1010
* @author Herlin
1111
*
12+
* @deprecated This class will be removed with the next major version of the PMD Plugin.
1213
*/
13-
14+
@Deprecated
1415
public class Timer {
1516
private long topStart;
1617
private long topStop;

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/UnregisteredCommandException.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
/**
2525
* Exception thrown when a strategy cannot find a processor of a processable
2626
* command.
27+
*
28+
* @deprecated This class will be removed with the next major version of the PMD Plugin.
2729
*/
30+
@Deprecated
2831
public class UnregisteredCommandException extends CommandException {
2932

3033
private static final long serialVersionUID = 1L;

net.sourceforge.pmd.eclipse.plugin/src/main/java/name/herlin/command/UnsetInputPropertiesException.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
* Exception thrown by the performExcecute method of a Command if not all
2626
* required input parameters of a command are not set. More formally, this
2727
* exception is thrown when Command.isReadyToExecute returns false.
28+
*
29+
* @deprecated This class will be removed with the next major version of the PMD Plugin.
2830
*/
31+
@Deprecated
2932
public class UnsetInputPropertiesException extends CommandException {
3033

3134
private static final long serialVersionUID = 1L;

0 commit comments

Comments
 (0)