public
abstract
class
InputMergerFactory
extends Object
| java.lang.Object
|
| ↳ |
androidx.work.InputMergerFactory
|
A factory object that creates InputMerger instances. The factory is invoked every
time a work runs. You can override the default implementation of this factory by manually
initializing WorkManager (see WorkManager.initialize(Context, Configuration)
and specifying a new InputMergerFactory in
Configuration.Builder.setInputMergerFactory(InputMergerFactory).
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
public InputMergerFactory ()
Public methods
public abstract InputMerger createInputMerger (String className)
Override this method to create an instance of a InputMerger given its fully
qualified class name.
Throwing an
Exception here will crash the application. If an
InputMergerFactory is unable to create an instance of a
InputMerger, it
should return
null so it can delegate to the default
InputMergerFactory.
| Parameters |
className |
String: The fully qualified class name for the InputMerger |