org.compass.spring.web.mvc
Class CompassIndexCommand

java.lang.Object
  extended by org.compass.spring.web.mvc.CompassIndexCommand

public class CompassIndexCommand
extends Object

The command object which instructs the CompassIndexController to perform CompassGps index operation.

Since the index operation might result in heavy performance effects (re-index all of CompassGps), the command proeprty doIndex must be set to true in order to perform it.

Author:
kimchy

Constructor Summary
CompassIndexCommand()
           
 
Method Summary
 String getDoIndex()
          Returns the doIndex commnand property, which instructs the CompassIndexController to performs the index operation.
 void setDoIndex(String doIndex)
          Sets the doIndex commnand property, which instructs the CompassIndexController to performs the index operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompassIndexCommand

public CompassIndexCommand()
Method Detail

getDoIndex

public String getDoIndex()
Returns the doIndex commnand property, which instructs the CompassIndexController to performs the index operation.

Returns:
true if the index operation should be performed

setDoIndex

public void setDoIndex(String doIndex)
Sets the doIndex commnand property, which instructs the CompassIndexController to performs the index operation.

Parameters:
doIndex - true if the index operation should be performed


Copyright (c) 2004-2008 The Compass Project.