X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2FStatCommand.java;h=b415ec4775c159e736bd029f0945f8af2c2f2590;hb=017a20f6da489d3d968025f0442213aee7252c41;hp=590808d01546fe86902f1bcbdece004ad4ffc5ab;hpb=d739ecb22a85d8f982add6d429e069edf7e0dde2;p=mkjsf-moved-to-github.git diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java index 590808d..b415ec4 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java @@ -1,18 +1,23 @@ package com.indexdata.mkjsf.pazpar2.commands; import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand; -import com.indexdata.mkjsf.pazpar2.state.StateManager; +/** + * Represents a Pazpar2 stat command. + * + * @author Niels Erik + * + */ public class StatCommand extends Pazpar2Command implements ServiceProxyCommand { private static final long serialVersionUID = 3980630346114157336L; - public StatCommand(StateManager stateMgr) { - super("stat",stateMgr); + public StatCommand() { + super("stat"); } public StatCommand copy () { - StatCommand newCommand = new StatCommand(stateMgr); + StatCommand newCommand = new StatCommand(); for (String parameterName : parameters.keySet()) { newCommand.setParameterInState(parameters.get(parameterName).copy()); }