Class CheckInCommand

  • All Implemented Interfaces:
    ExecutableCommand

    public class CheckInCommand
    extends ExecutableCommandWrapper
    implements ExecutableCommand

    Check in a new version for Items.

    This command requires PTC Integrity 10.5 or higher.

    Notes:

    • If the command is used on a Item of type Document, Items contained by the document will be also checked in.

    Usage:

     new CheckInCommand(myItem, CheckInKind.MAJOR).execute();
     
    Since:
    1.7.0
    • Constructor Detail

      • CheckInCommand

        public CheckInCommand​(Item item,
                              CheckInKind checkInKind)
        Instantiates a command to check-in an Item.
        Parameters:
        item - the item to check-in.
        checkInKind - either CheckInKind.MAJOR or CheckInKind.MINOR