public class ImportFileConfiguration extends Object
Constructor and Description |
---|
ImportFileConfiguration(org.sonatype.nexus.repository.Repository repository,
File file,
String assetName) |
ImportFileConfiguration(org.sonatype.nexus.repository.Repository repository,
File file,
String assetName,
boolean hardLinkingEnabled) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAssetName() |
File |
getFile() |
org.sonatype.nexus.repository.Repository |
getRepository() |
int |
hashCode() |
boolean |
isHardLinkingEnabled() |
public ImportFileConfiguration(org.sonatype.nexus.repository.Repository repository, File file, String assetName)
repository
- the Repository
to add the file tofile
- the File
to add to the repositoryassetName
- the path of the content relative to the base import directorypublic ImportFileConfiguration(org.sonatype.nexus.repository.Repository repository, File file, String assetName, boolean hardLinkingEnabled)
repository
- the Repository
to add the file tofile
- the File
to add to the repositoryassetName
- the path of the content relative to the base import directoryhardLinkingEnabled
- true to hard link the file instead of copying itCopyright © 2008–2021 Sonatype, Inc.. All rights reserved.