Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * $Id: ScheduleInfo.java 130 2009-06-05 17:01:24Z karianna $
  * $URL: https://ikasaneip.svn.sourceforge.net/svnroot/ikasaneip/tags/ikasan-0.7.3/common/src/main/java/org/ikasan/common/component/ScheduleInfo.java $
  * 
  * ====================================================================
  * Ikasan Enterprise Integration Platform
  * Copyright (c) 2003-2008 Mizuho International plc. and individual contributors as indicated
  * by the @authors tag. See the copyright.txt in the distribution for a
  * full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the 
 * Free Software Foundation Europe e.V. Talstrasse 110, 40217 Dusseldorf, Germany 
 * or see the FSF site: http://www.fsfeurope.org/.
 * ====================================================================
 */
package org.ikasan.common.component;
ScheduleInfo class.

Deprecated:
- This has been deprecated TODO replace with?
Author(s):
Ikasan Development Team
public class ScheduleInfo
    implements Serializable
{
    
Serialize ID
    private static final long serialVersionUID = 1L;

    
scheduled by a rollback/retry operation
    public static final ScheduleInfo UNDEFINED_TASK = 
        new ScheduleInfo(new Integer(0), "Undefined schedule info.");
    
    
scheduled by a rollback/retry operation
    public static final ScheduleInfo ROLLBACK_RETRY_TASK =
        new ScheduleInfo(new Integer(1), "Scheduled within a rollback/retry.");
    
    
scheduled by normal onTimeout operation
    public static final ScheduleInfo ONTIMEOUT_TASK =
        new ScheduleInfo(new Integer(2), "Scheduled within an onTimeout.");
    
    
schedule cause code
    private Integer id;
    
    
schedule description
    private String description;
    
    
count
    private int count;

    
Default constructor Creates a new instance of ScheduleInfo.

Parameters:
id
description
    public ScheduleInfo(final Integer idfinal String description)
    {
        this. = id;
        this. = description;
    }
New to GrepCode? Check out our FAQ X