info.magnolia.module.rssaggregator.command
Class ReplacePlanetUrlCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.module.rssaggregator.command.ReplacePlanetUrlCommand
All Implemented Interfaces:
org.apache.commons.chain.Command

public class ReplacePlanetUrlCommand
extends info.magnolia.commands.MgnlCommand

Replaces an old feed URL with a new one.

Author:
lfischer

Field Summary
static String FEED_NAME
           
static String NEW_URL
           
static String OLD_URL
           
 
Fields inherited from class info.magnolia.commands.MgnlCommand
log
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
ReplacePlanetUrlCommand()
           
 
Method Summary
 boolean execute(info.magnolia.context.Context context)
           
 
Methods inherited from class info.magnolia.commands.MgnlCommand
execute, isClone, isEnabled, release, setClone, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEED_NAME

public static final String FEED_NAME
See Also:
Constant Field Values

OLD_URL

public static final String OLD_URL
See Also:
Constant Field Values

NEW_URL

public static final String NEW_URL
See Also:
Constant Field Values
Constructor Detail

ReplacePlanetUrlCommand

public ReplacePlanetUrlCommand()
Method Detail

execute

public boolean execute(info.magnolia.context.Context context)
                throws Exception
Specified by:
execute in class info.magnolia.commands.MgnlCommand
Throws:
Exception


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.