001package org.apache.maven.scm.provider.cvslib.cvsjava; 002 003/* 004 * Licensed to the Apache Software Foundation (ASF) under one 005 * or more contributor license agreements. See the NOTICE file 006 * distributed with this work for additional information 007 * regarding copyright ownership. The ASF licenses this file 008 * to you under the Apache License, Version 2.0 (the 009 * "License"); you may not use this file except in compliance 010 * with the License. You may obtain a copy of the License at 011 * 012 * http://www.apache.org/licenses/LICENSE-2.0 013 * 014 * Unless required by applicable law or agreed to in writing, 015 * software distributed under the License is distributed on an 016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 017 * KIND, either express or implied. See the License for the 018 * specific language governing permissions and limitations 019 * under the License. 020 */ 021 022import org.apache.maven.scm.command.Command; 023import org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider; 024import org.apache.maven.scm.provider.cvslib.cvsjava.command.add.CvsJavaAddCommand; 025import org.apache.maven.scm.provider.cvslib.cvsjava.command.blame.CvsJavaBlameCommand; 026import org.apache.maven.scm.provider.cvslib.cvsjava.command.branch.CvsJavaBranchCommand; 027import org.apache.maven.scm.provider.cvslib.cvsjava.command.changelog.CvsJavaChangeLogCommand; 028import org.apache.maven.scm.provider.cvslib.cvsjava.command.checkin.CvsJavaCheckInCommand; 029import org.apache.maven.scm.provider.cvslib.cvsjava.command.checkout.CvsJavaCheckOutCommand; 030import org.apache.maven.scm.provider.cvslib.cvsjava.command.diff.CvsJavaDiffCommand; 031import org.apache.maven.scm.provider.cvslib.cvsjava.command.export.CvsJavaExportCommand; 032import org.apache.maven.scm.provider.cvslib.cvsjava.command.list.CvsJavaListCommand; 033import org.apache.maven.scm.provider.cvslib.cvsjava.command.login.CvsJavaLoginCommand; 034import org.apache.maven.scm.provider.cvslib.cvsjava.command.mkdir.CvsJavaMkdirCommand; 035import org.apache.maven.scm.provider.cvslib.cvsjava.command.remove.CvsJavaRemoveCommand; 036import org.apache.maven.scm.provider.cvslib.cvsjava.command.status.CvsJavaStatusCommand; 037import org.apache.maven.scm.provider.cvslib.cvsjava.command.tag.CvsJavaTagCommand; 038import org.apache.maven.scm.provider.cvslib.cvsjava.command.update.CvsJavaUpdateCommand; 039 040/** 041 * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a> 042 * 043 * @plexus.component role="org.apache.maven.scm.provider.ScmProvider" role-hint="cvs" 044 */ 045public class CvsJavaScmProvider 046 extends AbstractCvsScmProvider 047{ 048 /** {@inheritDoc} */ 049 protected Command getAddCommand() 050 { 051 return new CvsJavaAddCommand(); 052 } 053 054 /** {@inheritDoc} */ 055 protected Command getBranchCommand() 056 { 057 return new CvsJavaBranchCommand(); 058 } 059 060 /** {@inheritDoc} */ 061 protected Command getBlameCommand() 062 { 063 return new CvsJavaBlameCommand(); 064 } 065 066 /** {@inheritDoc} */ 067 protected Command getChangeLogCommand() 068 { 069 return new CvsJavaChangeLogCommand(); 070 } 071 072 /** {@inheritDoc} */ 073 protected Command getCheckInCommand() 074 { 075 return new CvsJavaCheckInCommand(); 076 } 077 078 /** {@inheritDoc} */ 079 protected Command getCheckOutCommand() 080 { 081 return new CvsJavaCheckOutCommand(); 082 } 083 084 /** {@inheritDoc} */ 085 protected Command getDiffCommand() 086 { 087 return new CvsJavaDiffCommand(); 088 } 089 090 /** {@inheritDoc} */ 091 protected Command getExportCommand() 092 { 093 return new CvsJavaExportCommand(); 094 } 095 096 /** {@inheritDoc} */ 097 protected Command getListCommand() 098 { 099 return new CvsJavaListCommand(); 100 } 101 102 /** {@inheritDoc} */ 103 protected Command getLoginCommand() 104 { 105 return new CvsJavaLoginCommand(); 106 } 107 108 /** {@inheritDoc} */ 109 protected Command getRemoveCommand() 110 { 111 return new CvsJavaRemoveCommand(); 112 } 113 114 /** {@inheritDoc} */ 115 protected Command getStatusCommand() 116 { 117 return new CvsJavaStatusCommand(); 118 } 119 120 /** {@inheritDoc} */ 121 protected Command getTagCommand() 122 { 123 return new CvsJavaTagCommand(); 124 } 125 126 /** {@inheritDoc} */ 127 protected Command getUpdateCommand() 128 { 129 return new CvsJavaUpdateCommand(); 130 } 131 132 /** {@inheritDoc} */ 133 protected Command getMkdirCommand() 134 { 135 return new CvsJavaMkdirCommand(); 136 } 137}