com.enonic.xp.content.ContentState Maven / Gradle / Ivy
package com.enonic.xp.content;
import com.enonic.xp.annotation.PublicApi;
@PublicApi
@Deprecated
public enum ContentState
{
DEFAULT, PENDING_DELETE;
public static ContentState from( String value )
{
if ( value.equalsIgnoreCase( PENDING_DELETE.toString() ) )
{
return PENDING_DELETE;
}
else
{
return DEFAULT;
}
}
}