public class FeatureFileService
| Modifier and Type | Class and Description |
|---|---|
static class |
FeatureFileService.Companion |
| Modifier and Type | Field and Description |
|---|---|
static FeatureFileService.Companion |
Companion |
| Constructor and Description |
|---|
FeatureFileService(FileToBusinessFeatureMapper featureMapper,
BusinessToFileFeatureMapper businessToFileFeatureMapper) |
| Modifier and Type | Method and Description |
|---|---|
com.testerum.model.feature.Feature |
createVirtualFeature(com.testerum.model.infrastructure.path.Path path)
Creates a Feature instance for a directory that doesn't have an "info.feat" file.
|
void |
deleteAttachment(com.testerum.model.infrastructure.path.Path attachmentFilePath,
java.nio.file.Path featuresDir) |
void |
deleteFeature(com.testerum.model.infrastructure.path.Path path,
java.nio.file.Path featuresDir) |
java.util.List<com.testerum.model.feature.Feature> |
getAllFeatures(java.nio.file.Path featuresDir) |
com.testerum.model.file.Attachment |
getAttachmentAtPath(com.testerum.model.infrastructure.path.Path attachmentFilePath,
java.nio.file.Path featuresDir) |
java.util.List<com.testerum.model.file.Attachment> |
getAttachmentsAtPath(com.testerum.model.infrastructure.path.Path featurePath,
java.nio.file.Path featuresDir) |
java.io.InputStream |
openAttachmentContentInputStream(com.testerum.model.infrastructure.path.Path attachmentFilePath,
java.nio.file.Path featuresDir) |
com.testerum.model.feature.Feature |
save(com.testerum.model.feature.Feature feature,
java.nio.file.Path featuresDir) |
com.testerum.model.file.Attachment |
uploadAttachment(com.testerum.model.infrastructure.path.Path featurePath,
com.testerum.model.file.FileToUpload fileToUpload,
java.nio.file.Path featuresDir) |
public static FeatureFileService.Companion Companion
public FeatureFileService(@NotNull
FileToBusinessFeatureMapper featureMapper,
@NotNull
BusinessToFileFeatureMapper businessToFileFeatureMapper)
@NotNull
public java.util.List<com.testerum.model.feature.Feature> getAllFeatures(@NotNull
java.nio.file.Path featuresDir)
@NotNull
public com.testerum.model.feature.Feature createVirtualFeature(@NotNull
com.testerum.model.infrastructure.path.Path path)
Creates a Feature instance for a directory that doesn't have an "info.feat" file.
@NotNull
public com.testerum.model.feature.Feature save(@NotNull
com.testerum.model.feature.Feature feature,
@NotNull
java.nio.file.Path featuresDir)
public void deleteFeature(@NotNull
com.testerum.model.infrastructure.path.Path path,
@NotNull
java.nio.file.Path featuresDir)
@NotNull
public java.util.List<com.testerum.model.file.Attachment> getAttachmentsAtPath(@NotNull
com.testerum.model.infrastructure.path.Path featurePath,
@NotNull
java.nio.file.Path featuresDir)
@Nullable
public com.testerum.model.file.Attachment getAttachmentAtPath(@NotNull
com.testerum.model.infrastructure.path.Path attachmentFilePath,
@NotNull
java.nio.file.Path featuresDir)
@Nullable
public java.io.InputStream openAttachmentContentInputStream(@NotNull
com.testerum.model.infrastructure.path.Path attachmentFilePath,
@NotNull
java.nio.file.Path featuresDir)
public void deleteAttachment(@NotNull
com.testerum.model.infrastructure.path.Path attachmentFilePath,
@NotNull
java.nio.file.Path featuresDir)
@NotNull
public com.testerum.model.file.Attachment uploadAttachment(@NotNull
com.testerum.model.infrastructure.path.Path featurePath,
@NotNull
com.testerum.model.file.FileToUpload fileToUpload,
@NotNull
java.nio.file.Path featuresDir)