Class GithubReleaseResolver
java.lang.Object
jadx.plugins.tools.resolvers.github.GithubReleaseResolver
- All Implemented Interfaces:
IJadxPluginResolver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Stringprivate JadxPluginMetadatabuildMetadata(Release release, LocationInfo info) booleanhasVersion(String locationId) Check if locationId has a specified version numberid()Unique resolver identifier, should be same as locationId prefixbooleanThis resolver support updates and can fetch the latest version.private static LocationInfoparseLocation(String locationId) Fetch the latest version plugin metadata by locationresolveVersions(String locationId, int page, int perPage) Fetch several latest versions (pageable) of plugin by locationId.private static @Nullable Assetprivate static AssetsearchPluginAsset(List<Asset> assets, String artifactPrefix, String releaseVersion)
-
Field Details
-
VERSION_PATTERN
-
-
Constructor Details
-
GithubReleaseResolver
public GithubReleaseResolver()
-
-
Method Details
-
resolve
Description copied from interface:IJadxPluginResolverFetch the latest version plugin metadata by location- Specified by:
resolvein interfaceIJadxPluginResolver
-
resolveVersions
Description copied from interface:IJadxPluginResolverFetch several latest versions (pageable) of plugin by locationId.- Specified by:
resolveVersionsin interfaceIJadxPluginResolver- Parameters:
page- page number, starts with 1perPage- result's count limit
-
hasVersion
Description copied from interface:IJadxPluginResolverCheck if locationId has a specified version number- Specified by:
hasVersionin interfaceIJadxPluginResolver
-
buildMetadata
-
parseLocation
-
searchPluginAsset
-
searchAssetWithExt
-
buildLocationIdWithoutVersion
-
id
Description copied from interface:IJadxPluginResolverUnique resolver identifier, should be same as locationId prefix- Specified by:
idin interfaceIJadxPluginResolver
-
isUpdateSupported
public boolean isUpdateSupported()Description copied from interface:IJadxPluginResolverThis resolver support updates and can fetch the latest version.- Specified by:
isUpdateSupportedin interfaceIJadxPluginResolver
-