mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 11:35:57 +01:00
Mark old import handler api as deprecated
This commit is contained in:
@@ -41,8 +41,10 @@ import java.util.List;
|
||||
* {@link AdvancedImportHandler}.
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
* @since 1.12
|
||||
* @deprecated
|
||||
* @since 2.11.0
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstactImportHandler implements AdvancedImportHandler
|
||||
{
|
||||
|
||||
|
||||
@@ -30,8 +30,10 @@ package sonia.scm.repository;
|
||||
* {@link ImportHandler}.
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
* @since 1.43
|
||||
* @deprecated
|
||||
* @since 2.11.0
|
||||
*/
|
||||
@Deprecated
|
||||
public interface AdvancedImportHandler extends ImportHandler
|
||||
{
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
package sonia.scm.repository;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
@@ -33,20 +33,20 @@ import java.util.List;
|
||||
* Searches and import existing repositories.
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
* @since 1.12
|
||||
* @since 2.11.0
|
||||
* @deprecated
|
||||
*/
|
||||
public interface ImportHandler
|
||||
{
|
||||
@Deprecated
|
||||
public interface ImportHandler {
|
||||
|
||||
/**
|
||||
* Import existing and non managed repositories.
|
||||
*
|
||||
*
|
||||
* @param manager The global {@link RepositoryManager}
|
||||
*
|
||||
*
|
||||
* @return a {@link List} names of imported repositories
|
||||
* @throws IOException
|
||||
* @since 2.11.0
|
||||
* @deprecated
|
||||
*/
|
||||
public List<String> importRepositories(RepositoryManager manager) throws IOException;
|
||||
}
|
||||
|
||||
@@ -38,11 +38,13 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
||||
* Import result of the {@link AdvancedImportHandler}.
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
* @since 1.43
|
||||
* @deprecated
|
||||
* @since 2.11.0
|
||||
*/
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@Getter
|
||||
@Deprecated
|
||||
public final class ImportResult {
|
||||
|
||||
/**
|
||||
|
||||
@@ -48,7 +48,8 @@ public interface RepositoryHandler
|
||||
*
|
||||
*
|
||||
* @return {@link ImportHandler} for the repository type of this handler
|
||||
* @since 1.12
|
||||
* @deprecated
|
||||
* @since 2.11.0
|
||||
*
|
||||
* @throws FeatureNotSupportedException
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user