Package com.sudicode.fb2gh.migrate
Interface FBAttachmentConverter
-
- All Known Implementing Classes:
GHAttachmentUploader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FBAttachmentConverter
By default,Migrator
will reference FogBugz attachments using their original FogBugz URLs. This may not be desired behavior, especially for those who are planning to do away with FogBugz entirely. In such cases, this interface can be used to override the default behavior.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
convert(FogBugz fogBugz, FBAttachment fbAttachment)
Obtain the URL that should be used when posting aFBAttachment
to GitHub.
-
-
-
Method Detail
-
convert
String convert(FogBugz fogBugz, FBAttachment fbAttachment)
Obtain the URL that should be used when posting aFBAttachment
to GitHub.- Parameters:
fogBugz
- TheFogBugz
instance that owns theFBAttachment
fbAttachment
- TheFBAttachment
- Returns:
- The URL
-
-