public class RollbackUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getRollbackOperationName(java.util.Collection<? extends AbstractVcs> vcses)
Finds the most appropriate name for the "Rollback" operation for the given VCSs.
|
static java.lang.String |
getRollbackOperationName(Project project)
Finds the appropriate name for the "rollback" operation, looking through all VCSs registered in the project.
|
public static java.lang.String getRollbackOperationName(java.util.Collection<? extends AbstractVcs> vcses)
RollbackEnvironments
and picks
the operation name if it is equal to all given VCSs.
Otherwise picks the default name
.vcses
- affected VCSs.public static java.lang.String getRollbackOperationName(Project project)