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 (UNIX and Linux). 024 */ 025 UNIX_INT_SNAP, 026 027 /** 028 * Recommend snapshot views for integration work (Windows). 029 */ 030 WIN_INT_SNAP, 031 032 /** 033 * Recommend snapshot views for development work (UNIX and Linux). 034 * Not applicable for single stream development 035 */ 036 UNIX_DEV_SNAP, 037 038 /** 039 * Recommend snapshot views for development work (Windows). 040 * Not applicable for single stream development 041 */ 042 WIN_DEV_SNAP, 043 044 /** 045 * Skip permission checking to allow any user 046 * to modify an existing project. 047 */ 048 CHPROJECT_UNRESTRICTED, 049 050 /** 051 * Skip permission checking to allow any user 052 * to modify an existing stream. 053 */ 054 CHSTREAM_UNRESTRICTED, 055 056 /** 057 * Require a development stream to be based on 058 * current recommended baselines before 059 * it can deliver changes to its default target stream. 060 * Not applicable for single stream development 061 */ 062 DELIVER_REQUIRE_REBASE, 063 064 /** 065 * Do not allow delivery from a development stream 066 * that has checkouts. 067 * Not applicable for single stream development 068 */ 069 DELIVER_NCO_DEVSTR, 070 071 /** 072 * Allows delivery of activities that have no 073 * checkouts or do not depend on activities that 074 * have checkouts. This policy overrides DELIVER_NCO_DEVSTR 075 * Not applicable for single stream development 076 */ 077 DELIVER_NCO_SELACT, 078 079 /** 080 * Allows a rebase operation on the target stream while some 081 * of the files remain checked out in the view. 082 * Not applicable for single stream development 083 */ 084 REBASE_CO, 085 086 /** 087 * Allow a deliver operation from a stream in the same project 088 * to include changes from the stream's foundation baselines 089 * Not applicable for single stream development 090 */ 091 INTRAPROJECT_DELIVER_FOUNDATION_CHANGES, 092 093 /** 094 * Allow a deliver operation from a stream in the same project to 095 * contain changes in components that are not included in the target 096 * stream's configuration 097 * Not applicable for single stream development 098 */ 099 INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS, 100 101 /** 102 * Allow streams in this project to accept changes in a deliver 103 * operation from a stream in a different project. 104 */ 105 INTERPROJECT_DELIVER, 106 107 /** 108 * Allow a deliver operation from a stream in a different project to 109 * include changes from the stream's foundation baselines. 110 */ 111 INTERPROJECT_DELIVER_FOUNDATION_CHANGES, 112 113 /** 114 * Require a deliver operation from a stream in a different project to 115 * deliver changes in all components 116 */ 117 INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY, 118 119 /** 120 * Allow a deliver operation from a stream in a different project to contain 121 * changes in components that are not modifiable in the target stream's configuration 122 */ 123 INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS 124 };