aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2017-09-10 17:47:17 +0200
committerMartin Stockhammer <martin_s@apache.org>2017-09-10 17:47:17 +0200
commitf886688c25fb6939e1b60fc946b2ee1e93659eb2 (patch)
tree215fd107f00d43f7836b42d1ca02dae1b9cad893 /archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org
parent7503cb83e346eb5f9eed0d45d534318ec535232e (diff)
downloadarchiva-f886688c25fb6939e1b60fc946b2ee1e93659eb2.tar.gz
archiva-f886688c25fb6939e1b60fc946b2ee1e93659eb2.zip
Migrating scheduler to java.nio
Diffstat (limited to 'archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org/apache/archiva/scheduler/repository/model/RepositoryTask.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org/apache/archiva/scheduler/repository/model/RepositoryTask.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org/apache/archiva/scheduler/repository/model/RepositoryTask.java
index c665a79a9..b93fe5a75 100644
--- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org/apache/archiva/scheduler/repository/model/RepositoryTask.java
+++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository-api/src/main/java/org/apache/archiva/scheduler/repository/model/RepositoryTask.java
@@ -2,7 +2,8 @@ package org.apache.archiva.scheduler.repository.model;
import org.apache.archiva.redback.components.taskqueue.Task;
-import java.io.File;
+import java.nio.file.Path;
+
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -32,7 +33,7 @@ public class RepositoryTask
{
private String repositoryId;
- private File resourceFile;
+ private Path resourceFile;
private boolean updateRelatedArtifacts;
@@ -80,12 +81,12 @@ public class RepositoryTask
return 0;
}
- public File getResourceFile()
+ public Path getResourceFile()
{
return resourceFile;
}
- public void setResourceFile( File resourceFile )
+ public void setResourceFile( Path resourceFile )
{
this.resourceFile = resourceFile;
}