001 /* 002 * IBM Confidential 003 * OCO Source Materials 004 * Rational ClearCase 005 * (C) Copyright IBM Corp. 2013. All rights reserved. 006 * 007 * The source code for this program is not published or otherwise 008 * divested of its trade secrets, irrespective of what has been 009 * deposited with the U.S. Copyright Office. 010 */ 011 012 package com.ibm.rational.wvcm.stp.cc; 013 014 /** 015 * Policies associated with a UCM project and its corresponding 016 * UCM Stream(s). 017 * For more information, see the cleartool man page "mkproject". 018 */ 019 020 public enum CcUcmPolicy { 021 022 /** 023 * Recommend snapshot views for integration work. 024 */ 025 UNIX_INT_SNAP, 026 WIN_INT_SNAP, 027 028 /** 029 * Recommend snapshot views for development work. 030 * Not applicable for single stream development 031 */ 032 UNIX_DEV_SNAP, 033 WIN_DEV_SNAP, 034 035 /** 036 * Skip permission checking to allow any user 037 * to modify an existing project. 038 */ 039 CHPROJECT_UNRESTRICTED, 040 041 /** 042 * Skip permission checking to allow any user 043 * to modify an existing stream. 044 */ 045 CHSTREAM_UNRESTRICTED, 046 047 /** 048 * Require a development stream to be based on 049 * current recommended baselines before 050 * it can deliver changes to its default target stream. 051 * Not applicable for single stream development 052 */ 053 DELIVER_REQUIRE_REBASE, 054 055 /** 056 * Do not allow delivery from a development stream 057 * that has checkouts. 058 * Not applicable for single stream development 059 */ 060 DELIVER_NCO_DEVSTR, 061 062 /** 063 * Allows delivery of activities that have no 064 * checkouts or do not depend on activities that 065 * have checkouts. This policy overrides DELIVER_NCO_DEVSTR 066 * Not applicable for single stream development 067 */ 068 DELIVER_NCO_SELACT, 069 070 /** 071 * Allows a rebase operation on the target stream while some 072 * of the files remain checked out in the view. 073 * Not applicable for single stream development 074 */ 075 REBASE_CO, 076 077 /** 078 * Allow a deliver operation from a stream in the same project 079 * to include changes from the stream's foundation baselines 080 * Not applicable for single stream development 081 */ 082 INTRAPROJECT_DELIVER_FOUNDATION_CHANGES, 083 084 /** 085 * Allow a deliver operation from a stream in the same project to 086 * contain changes in components that are not included in the target 087 * stream's configuration 088 * Not applicable for single stream development 089 */ 090 INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS, 091 092 /** 093 * Allow streams in this project to accept changes in a deliver 094 * operation from a stream in a different project. 095 */ 096 INTERPROJECT_DELIVER, 097 098 /** 099 * Allow a deliver operation from a stream in a different project to 100 * include changes from the stream's foundation baselines. 101 */ 102 INTERPROJECT_DELIVER_FOUNDATION_CHANGES, 103 104 /** 105 * Require a deliver operation from a stream in a different project to 106 * deliver changes in all components 107 */ 108 INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY, 109 110 /** 111 * Allow a deliver operation from a stream in a different project to contain 112 * changes in components that are not modifiable in the target stream's configuration 113 */ 114 INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS 115 };