@Override
    protected List<I_PublishResourceValidator> getValidators() {

        if (m_isRelease) {
            return Arrays.asList(
                new CmsDefaultPublishResourceFormatter.AlreadyPublishedValidator(),
                new CmsDefaultPublishResourceFormatter.BlockingLockedValidator(),
                new ExcludeAlreadyInWorkflow());
        } else {
            return Arrays.asList(
                new CmsDefaultPublishResourceFormatter.AlreadyPublishedValidator(),
                new CmsDefaultPublishResourceFormatter.NoPermissionsValidator(),
                new CmsDefaultPublishResourceFormatter.BlockingLockedValidator(),
                new ExcludeAlreadyInWorkflow());
        }
    }
@ Override protected List < I_PublishResourceValidator > getValidators ( ) { if ( m_isRelease ) { return Arrays . asList ( new CmsDefaultPublishResourceFormatter . AlreadyPublishedValidator ( ) , new CmsDefaultPublishResourceFormatter . BlockingLockedValidator ( ) , new ExcludeAlreadyInWorkflow ( ) ) ; } else { return Arrays . asList ( new CmsDefaultPublishResourceFormatter . AlreadyPublishedValidator ( ) , new CmsDefaultPublishResourceFormatter . NoPermissionsValidator ( ) , new CmsDefaultPublishResourceFormatter . BlockingLockedValidator ( ) , new ExcludeAlreadyInWorkflow ( ) ) ; } }
@see org.opencms.workflow.CmsDefaultPublishResourceFormatter#getValidators()