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,Migratorwill 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 Stringconvert(FogBugz fogBugz, FBAttachment fbAttachment)Obtain the URL that should be used when posting aFBAttachmentto GitHub.
-
-
-
Method Detail
-
convert
String convert(FogBugz fogBugz, FBAttachment fbAttachment)
Obtain the URL that should be used when posting aFBAttachmentto GitHub.- Parameters:
fogBugz- TheFogBugzinstance that owns theFBAttachmentfbAttachment- TheFBAttachment- Returns:
- The URL
-
-