001/* 002 * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Nuxeo - initial API and implementation 011 * $Id: LifeCycleTransition.java 19250 2007-05-23 20:06:09Z sfermigier $ 012 */ 013 014package org.nuxeo.ecm.core.lifecycle; 015 016/** 017 * Life cycle transition. 018 * 019 * @see org.nuxeo.ecm.core.lifecycle.impl.LifeCycleTransitionImpl 020 * @author <a href="mailto:ja@nuxeo.com">Julien Anguenot</a> 021 */ 022public interface LifeCycleTransition { 023 024 /** 025 * Returns the transition name. 026 * 027 * @return the transition name as a string 028 */ 029 String getName(); 030 031 /** 032 * Returns the description of the transition. 033 * 034 * @return the description of the transition. 035 */ 036 String getDescription(); 037 038 /** 039 * Returns the destination state. 040 * 041 * @return the destination state name as a string 042 */ 043 String getDestinationStateName(); 044 045}