blob: 41d745fca2339fdd76327c044b98234402d2be82 [file] [log] [blame]
package org.apache.maven.changelog.stubs;
/*
* Copyright 2001-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.apache.maven.scm.ScmException;
import org.apache.maven.scm.ScmFileSet;
import org.apache.maven.scm.command.add.AddScmResult;
import org.apache.maven.scm.command.changelog.ChangeLogScmResult;
import org.apache.maven.scm.command.checkin.CheckInScmResult;
import org.apache.maven.scm.command.checkout.CheckOutScmResult;
import org.apache.maven.scm.command.diff.DiffScmResult;
import org.apache.maven.scm.command.edit.EditScmResult;
import org.apache.maven.scm.command.remove.RemoveScmResult;
import org.apache.maven.scm.command.status.StatusScmResult;
import org.apache.maven.scm.command.tag.TagScmResult;
import org.apache.maven.scm.command.unedit.UnEditScmResult;
import org.apache.maven.scm.command.update.UpdateScmResult;
import org.apache.maven.scm.log.ScmLogger;
import org.apache.maven.scm.provider.ScmProvider;
import org.apache.maven.scm.provider.ScmProviderRepository;
import org.apache.maven.scm.repository.ScmRepository;
import org.apache.maven.scm.repository.ScmRepositoryException;
import org.apache.maven.scm.repository.UnknownRepositoryStructure;
import java.io.File;
import java.util.Date;
import java.util.List;
/**
* @author Edwin Punzalan
*/
public class ScmProviderStub
implements ScmProvider
{
public AddScmResult add( ScmRepository scmRepository, ScmFileSet scmFileSet )
throws ScmException
{
return null;
}
public void addListener( ScmLogger scmLogger )
{
}
protected ChangeLogScmResult getChangeLogScmResult()
{
return new ChangeLogScmResultStub();
}
public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
int i, String string )
throws ScmException
{
return getChangeLogScmResult();
}
public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
int i, String string, String string1 )
throws ScmException
{
return getChangeLogScmResult();
}
public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, String string,
String string1 )
throws ScmException
{
return getChangeLogScmResult();
}
public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, String string,
String string1, String string2 )
throws ScmException
{
return getChangeLogScmResult();
}
public CheckInScmResult checkIn( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
throws ScmException
{
return null;
}
public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
throws ScmException
{
return null;
}
public DiffScmResult diff( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
throws ScmException
{
return null;
}
public EditScmResult edit( ScmRepository scmRepository, ScmFileSet scmFileSet )
throws ScmException
{
return null;
}
public String getScmSpecificFilename()
{
return null;
}
public String getScmType()
{
return null;
}
public ScmProviderRepository makeProviderScmRepository( File file )
throws ScmRepositoryException, UnknownRepositoryStructure
{
return null;
}
public ScmProviderRepository makeProviderScmRepository( String string, char c )
throws ScmRepositoryException
{
return null;
}
public RemoveScmResult remove( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
throws ScmException
{
return null;
}
public boolean requiresEditMode()
{
return false;
}
public StatusScmResult status( ScmRepository scmRepository, ScmFileSet scmFileSet )
throws ScmException
{
return null;
}
public TagScmResult tag( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
throws ScmException
{
return null;
}
public UnEditScmResult unedit( ScmRepository scmRepository, ScmFileSet scmFileSet )
throws ScmException
{
return null;
}
public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
throws ScmException
{
return null;
}
public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, Date date )
throws ScmException
{
return null;
}
public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, Date date,
String string1 )
throws ScmException
{
return null;
}
public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
throws ScmException
{
return null;
}
public List validateScmUrl( String string, char c )
{
return null;
}
}