Skip navigation links
A B C D E F G H I J L M P R S T W 

A

addMainClassTimeoutWarningListener(Repackager.MainClassTimeoutWarningListener) - Method in class com.alipay.sofa.ark.tools.Repackager
Add a listener that will be triggered to display a warning if searching for the main class takes too long.
ArtifactItem - Class in com.alipay.sofa.ark.tools
 
ArtifactItem() - Constructor for class com.alipay.sofa.ark.tools.ArtifactItem
 

B

buildModuleManifest(JarFile) - Method in class com.alipay.sofa.ark.tools.Repackager
 

C

close() - Method in class com.alipay.sofa.ark.tools.JarWriter
Close the writer.
com.alipay.sofa.ark.tools - package com.alipay.sofa.ark.tools
 
com.alipay.sofa.ark.tools.git - package com.alipay.sofa.ark.tools.git
 
COMPILE - Static variable in interface com.alipay.sofa.ark.tools.LibraryScope
The library is used at compile time and runtime
CONTAINER - Static variable in interface com.alipay.sofa.ark.tools.LibraryScope
Marker for sofa-ark container scope when custom configuration is used.

D

doWithLibraries(LibraryCallback) - Method in interface com.alipay.sofa.ark.tools.Libraries
Iterate all relevant libraries.

E

equals(Object) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 

F

findMainMethodWithTimeoutWarning(JarFile) - Method in class com.alipay.sofa.ark.tools.Repackager
 
findSingleMainClass(JarFile, String, String) - Static method in class com.alipay.sofa.ark.tools.MainClassFinder
Find a single main class in a given jar file.

G

getArkContainerLocation() - Method in class com.alipay.sofa.ark.tools.Layouts.Jar
 
getArkContainerLocation() - Method in interface com.alipay.sofa.ark.tools.RepackagingLayout
Returns the location to which SOFAArk should be moved.
getArkModuleLocation() - Method in class com.alipay.sofa.ark.tools.Layouts.Jar
 
getArkModuleLocation() - Method in interface com.alipay.sofa.ark.tools.RepackagingLayout
Returns the location to which SOFA module should be moved
getArkPluginLocation() - Method in class com.alipay.sofa.ark.tools.Layouts.Jar
 
getArkPluginLocation() - Method in interface com.alipay.sofa.ark.tools.RepackagingLayout
Returns the location to which SOFAArk plugin should be moved.
getArtifactId() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
getArtifactId() - Method in class com.alipay.sofa.ark.tools.Library
return the artifact id
getBranchName() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getBuildEmail() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getBuildUser() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getClassifier() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
getFile() - Method in class com.alipay.sofa.ark.tools.Library
Return the library file.
getGroupId() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
getLastCommitDateTime() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getLastCommitEmail() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getLastCommitId() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getLastCommitTime() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getLastCommitUser() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getLauncherClassName() - Method in interface com.alipay.sofa.ark.tools.Layout
Returns the launcher class name for this layout.
getLauncherClassName() - Method in class com.alipay.sofa.ark.tools.Layouts.Jar
 
getLauncherClassName() - Method in class com.alipay.sofa.ark.tools.Layouts.Module
 
getLibraryDestination(String, LibraryScope) - Method in interface com.alipay.sofa.ark.tools.Layout
Returns the destination path for a given library.
getLibraryDestination(String, LibraryScope) - Method in class com.alipay.sofa.ark.tools.Layouts.Jar
 
getLibraryDestination(String, LibraryScope) - Method in class com.alipay.sofa.ark.tools.Layouts.Module
 
getModuleTargetFile() - Method in class com.alipay.sofa.ark.tools.Repackager
 
getName() - Method in class com.alipay.sofa.ark.tools.Library
Return the name of file as it should be written.
getRepository() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
getScope() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
getScope() - Method in class com.alipay.sofa.ark.tools.Library
Return the scope of the library.
getType() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
getVersion() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
GitInfo - Class in com.alipay.sofa.ark.tools.git
 
GitInfo() - Constructor for class com.alipay.sofa.ark.tools.git.GitInfo
 

H

handleTimeoutWarning(long, String) - Method in interface com.alipay.sofa.ark.tools.Repackager.MainClassTimeoutWarningListener
Handle a timeout warning.
hashCode() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 

I

IdentityEntryTransformer() - Constructor for class com.alipay.sofa.ark.tools.JarWriter.IdentityEntryTransformer
 
isDeclaredMode() - Method in class com.alipay.sofa.ark.tools.Repackager
 
isExecutable() - Method in interface com.alipay.sofa.ark.tools.Layout
Returns if loader classes should be included to make the archive executable.
isExecutable() - Method in class com.alipay.sofa.ark.tools.Layouts.Jar
 
isExecutable() - Method in class com.alipay.sofa.ark.tools.Layouts.Module
 
isPackageProvided() - Method in class com.alipay.sofa.ark.tools.Repackager
 
isSameIgnoreVersion(ArtifactItem) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
isSameStr(String, String) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
isSameWithVersion(ArtifactItem) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
isUnpackRequired() - Method in class com.alipay.sofa.ark.tools.Library
Return if the file cannot be used directly as a nested jar and needs to be unpacked.
isZip(File) - Static method in class com.alipay.sofa.ark.tools.Repackager
 
isZip(InputStream) - Static method in class com.alipay.sofa.ark.tools.Repackager
 

J

Jar() - Constructor for class com.alipay.sofa.ark.tools.Layouts.Jar
 
jar() - Static method in class com.alipay.sofa.ark.tools.Layouts.Jar
 
JarWriter - Class in com.alipay.sofa.ark.tools
Writes JAR content, ensuring valid directory entries are always create and duplicate
JarWriter(File) - Constructor for class com.alipay.sofa.ark.tools.JarWriter
Create a new JarWriter instance.
JarWriter.EntryTransformer - Interface in com.alipay.sofa.ark.tools
An EntryTransformer enables the transformation of jar entries during the writing process.
JarWriter.IdentityEntryTransformer - Class in com.alipay.sofa.ark.tools
An EntryTransformer that returns the entry unchanged.
JGitParser - Class in com.alipay.sofa.ark.tools.git
 
JGitParser() - Constructor for class com.alipay.sofa.ark.tools.git.JGitParser
 

L

Layout - Interface in com.alipay.sofa.ark.tools
Strategy interface used to determine the layout for a particular type of archive.
Layouts - Class in com.alipay.sofa.ark.tools
 
Layouts.Jar - Class in com.alipay.sofa.ark.tools
Executable JAR layout.
Layouts.Module - Class in com.alipay.sofa.ark.tools
Module layout (designed to be used as a "plug-in")
Libraries - Interface in com.alipay.sofa.ark.tools
Encapsulates process about libraries that may be packed into the archive.
Library - Class in com.alipay.sofa.ark.tools
Encapsulates information about a single library that may be packed into the archive.
Library(File, LibraryScope) - Constructor for class com.alipay.sofa.ark.tools.Library
Create a new Library.
Library(File, LibraryScope, boolean) - Constructor for class com.alipay.sofa.ark.tools.Library
Create a new Library.
Library(String, File, LibraryScope, boolean) - Constructor for class com.alipay.sofa.ark.tools.Library
Create a new Library.
library(Library) - Method in interface com.alipay.sofa.ark.tools.LibraryCallback
Callback for a single library backed by a File.
LibraryCallback - Interface in com.alipay.sofa.ark.tools
Callback interface used to iterate Libraries.
LibraryScope - Interface in com.alipay.sofa.ark.tools
 
LoaderClassesWriter - Interface in com.alipay.sofa.ark.tools
Writer to write classes into repackaged JAR.

M

MainClassFinder - Class in com.alipay.sofa.ark.tools
Finds any class with a public static main method by performing a breadth first search.
MainClassFinder() - Constructor for class com.alipay.sofa.ark.tools.MainClassFinder
 
MASTER_FIRST_COMPARATOR - Static variable in class com.alipay.sofa.ark.tools.git.JGitParser
 
Module() - Constructor for class com.alipay.sofa.ark.tools.Layouts.Module
 
module() - Static method in class com.alipay.sofa.ark.tools.Layouts.Module
 
MODULE - Static variable in interface com.alipay.sofa.ark.tools.LibraryScope
Marker for sofa-ark module scope when custom configuration is used.

P

parse(File) - Static method in class com.alipay.sofa.ark.tools.git.JGitParser
 
parseArtifactItem(Artifact) - Static method in class com.alipay.sofa.ark.tools.ArtifactItem
 
parseArtifactItemIgnoreVersion(String) - Static method in class com.alipay.sofa.ark.tools.ArtifactItem
parse string pattern {groupId:artifactId} or {groupId:artifactId:classifier}
parseArtifactItemWithVersion(String) - Static method in class com.alipay.sofa.ark.tools.ArtifactItem
parse string pattern {groupId:artifactId:version} or {groupId:artifactId:version:classifier}
PLUGIN - Static variable in interface com.alipay.sofa.ark.tools.LibraryScope
Marker for sofa-ark plugin scope when custom configuration is used.
prepareDeclaredLibraries(Collection<ArtifactItem>) - Method in class com.alipay.sofa.ark.tools.Repackager
 
PROVIDED - Static variable in interface com.alipay.sofa.ark.tools.LibraryScope
The library is needed for compile but is usually provided when running.

R

repackage(File, File, Libraries) - Method in class com.alipay.sofa.ark.tools.Repackager
Repackage to the given destination so that it can be launched using ' java -jar'.
Repackager - Class in com.alipay.sofa.ark.tools
Utility class that can be used to repackage an archive so that it can be executed using java -jar
Repackager(File) - Constructor for class com.alipay.sofa.ark.tools.Repackager
 
Repackager.MainClassTimeoutWarningListener - Interface in com.alipay.sofa.ark.tools
Callback interface used to present a warning when finding the main class takes too long.
RepackagingLayout - Interface in com.alipay.sofa.ark.tools
 
RUNTIME - Static variable in interface com.alipay.sofa.ark.tools.LibraryScope
The library is used at runtime but not needed for compile.

S

setArkVersion(String) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setArtifactId(String) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
setArtifactId(String) - Method in class com.alipay.sofa.ark.tools.Library
set artifactId
setBaseDir(File) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setBizName(String) - Method in class com.alipay.sofa.ark.tools.Repackager
Set the ark-biz name that represents a unique id during runtime, it can be bind uniquely to a ark-biz
setBizVersion(String) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setBranchName(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setBuildEmail(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setBuildUser(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setClassifier(String) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
setDeclaredMode(boolean) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setDenyImportClasses(LinkedHashSet<String>) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setDenyImportPackages(LinkedHashSet<String>) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setDenyImportResources(LinkedHashSet<String>) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setGitDirectory(File) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setGroupId(String) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
setInjectPluginDependencies(LinkedHashSet<String>) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setInjectPluginExportPackages(LinkedHashSet<String>) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setKeepArkBizJar(boolean) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setLastCommitDateTime(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setLastCommitEmail(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setLastCommitId(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setLastCommitTime(long) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setLastCommitUser(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setMainClass(String) - Method in class com.alipay.sofa.ark.tools.Repackager
Set the main class that should be run.
setPackageProvided(boolean) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setPriority(String) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setRepository(String) - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
setScope(String) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
setScope(LibraryScope) - Method in class com.alipay.sofa.ark.tools.Library
 
setSkipArkExecutable(boolean) - Method in class com.alipay.sofa.ark.tools.Repackager
 
setToStr(Set<ArtifactItem>, String) - Static method in class com.alipay.sofa.ark.tools.Repackager
 
setType(String) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
setVersion(String) - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
setWebContextPath(String) - Method in class com.alipay.sofa.ark.tools.Repackager
 

T

toString() - Method in class com.alipay.sofa.ark.tools.ArtifactItem
 
toString() - Method in class com.alipay.sofa.ark.tools.git.GitInfo
 
transform(JarEntry) - Method in interface com.alipay.sofa.ark.tools.JarWriter.EntryTransformer
Transform JarEntry
transform(JarEntry) - Method in class com.alipay.sofa.ark.tools.JarWriter.IdentityEntryTransformer
 

W

writeBootstrapEntry(JarFile) - Method in class com.alipay.sofa.ark.tools.JarWriter
 
writeEntries(JarFile) - Method in class com.alipay.sofa.ark.tools.JarWriter
Write all entries from the specified jar file.
writeEntries(JarFile, JarWriter.EntryTransformer) - Method in class com.alipay.sofa.ark.tools.JarWriter
 
writeEntry(String, InputStream) - Method in class com.alipay.sofa.ark.tools.JarWriter
Writes an entry.
writeEntry(String, InputStream) - Method in interface com.alipay.sofa.ark.tools.LoaderClassesWriter
Write a single entry to the JAR.
writeLoaderClasses(JarInputStream) - Method in class com.alipay.sofa.ark.tools.JarWriter
 
writeLoaderClasses(JarInputStream) - Method in interface com.alipay.sofa.ark.tools.LoaderClassesWriter
Write custom required SOFA-ark-loader classes to the JAR.
writeManifest(Manifest) - Method in class com.alipay.sofa.ark.tools.JarWriter
Write the specified manifest.
writeMarkEntry() - Method in class com.alipay.sofa.ark.tools.JarWriter
 
writeNestedLibrary(String, Library) - Method in class com.alipay.sofa.ark.tools.JarWriter
Write a nested library.
A B C D E F G H I J L M P R S T W 
Skip navigation links

Copyright © 2024. All rights reserved.