org.xwiki.job.event.status
Class PushLevelProgressEvent

java.lang.Object
  extended by org.xwiki.job.event.status.PushLevelProgressEvent
All Implemented Interfaces:
org.xwiki.observation.event.Event

public class PushLevelProgressEvent
extends Object
implements org.xwiki.observation.event.Event

Indicate to the progress listener that a new step level is starting.

Since:
4.0M1
Version:
$Id: b12ae16519078aa7b5b8770b0a57a18da04c62dd $

Constructor Summary
PushLevelProgressEvent()
          Matches any PushLevelProgressEvent.
PushLevelProgressEvent(int steps)
           
 
Method Summary
 int getSteps()
           
 boolean matches(Object arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushLevelProgressEvent

public PushLevelProgressEvent()
Matches any PushLevelProgressEvent.


PushLevelProgressEvent

public PushLevelProgressEvent(int steps)
Parameters:
steps - the number of sub steps.
Method Detail

matches

public boolean matches(Object arg0)
Specified by:
matches in interface org.xwiki.observation.event.Event

getSteps

public int getSteps()
Returns:
the number of sub steps


Copyright © 2004-2012 XWiki. All Rights Reserved.