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