public static enum CDORepository.VersioningMode extends Enum<CDORepository.VersioningMode>
Modifier and Type | Method and Description |
---|---|
static CDORepository.VersioningMode |
from(CDORepositoryInfo repositoryInfo) |
boolean |
isSupportingAudits() |
boolean |
isSupportingBranches() |
static CDORepository.VersioningMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDORepository.VersioningMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CDORepository.VersioningMode Normal
public static final CDORepository.VersioningMode Auditing
public static final CDORepository.VersioningMode Branching
public static CDORepository.VersioningMode[] values()
for (CDORepository.VersioningMode c : CDORepository.VersioningMode.values()) System.out.println(c);
public static CDORepository.VersioningMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isSupportingAudits()
public boolean isSupportingBranches()
public static CDORepository.VersioningMode from(CDORepositoryInfo repositoryInfo)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html