|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Calendar
instance by cloning the passed one
and adds the time specified through the passed field and amount.
Calendar
instance by cloning the passed one
and adds the passed milliseconds to it.
String
representation of the passed
Object
to this ToStringBuilder
WITHOUT
using a delimiter to seperate it from other toString
arguments.
String
representation of the passed
Object
s to this ToStringBuilder
WITHOUT
using a delimiter to seperate it from other toString
arguments.
String
representation of the passed
Iterable
's Object
to this
ToStringBuilder
WITHOUT using a delimiter
to seperate it from other toString arguments.
Message
.
Message
.
Message
.
Message
.
Message
.
Message
.
QueueSchedulingStrategyChain
that acutally performs
Character
s in the Text
s content
which are not letters or digits with spaces, or iff theres a whitespace
before or after said character, it is deleted.AlphaNumericTriageTable
String
representation of the passed
Object
to this ToStringBuilder
.
String
representation of the passed
Object
s to this ToStringBuilder
.
String
representation of the passed
Object
to this ToStringBuilder
.
String
representation of the passed
Object
s to this ToStringBuilder
.
String
representation of the passed
Iterable
's Object
s to this
ToStringBuilder
.
String
representation of the passed
Iterable
's Object
s to this ToStringBuilder
.
MethodNotSupportedException
because the POP3 protocol doesn't support appending messages.
Iterator
that returns elements
in an ascending ordering.
Assert
class) that the
passed Iterator
s represent the same element sequence,
i.e.
Assertion
in a unit test case.ATSA
stands for ATSA
Text Similarity Algorithm.BoundedGenericContainer
is very similar to
GenericContainer
with the exception that
the BoundedGenericContainer.getElem(Class)
and BoundedGenericContainer.setElem(Class, Object)
methods do not provide 100 % strict type parameter binding.Builder
is a default factory for
objects of type T and used to create
common objects in a unified way throughout the system.Builders
.Builder
s.Builders
.SchedulableQueueElement.getQueueingDate()
) before the
delay threshold (== queueing date + DelayedLinearQueueSchedulingStrategy.delayIntLen
) it will
be constantly rescheduled in DelayedLinearQueueSchedulingStrategy.baseIntLen
milliseconds (see
ConstantQueueSchedulingStrategy
).SchedulableQueueElement.getScheduledCount()
* DelayedLinearQueueSchedulingStrategy.delayIntLen
milliseconds
(see LinearQueueSchedulingStrategy
).
FixedQueueSchedulingStrategy.scheduleDate
is after
(see Calendar.after(Object)
) NOW
(see QueueScheduler.now()
then it will be returned,
otherwise NOW +
SchedulableQueueElement.getMinSchedulingInterval()
will be returned.
LinearQueueSchedulingStrategy.intervalMillis
multiplied with a scaling factor
(see LinearQueueSchedulingStrategy.calculateScalingFactor(SchedulableQueueElement)
)
to the current time.
QueueSchedulingStrategy
on the passed
SchedulableQueueElement
.
QueueSchedulingStrategyChain.elements
and for every instance...
LinearQueueSchedulingStrategy.intervalMillis
should be
scalied with linearly as the maximum of 1 and
(SchedulableQueueElement.getScheduledCount()
+
1 - LinearQueueSchedulingStrategy.delayCount
)
LinearQueueSchedulingStrategy.delayCount
, nomen es omen, thus is used to specify
the number of times the LinearQueueSchedulingStrategy
should do a constant rescheduling just like the
ConstantQueueSchedulingStrategy
before proceeding
with the linear scaling.
Builder
for Calendar
instances.JavaMailCallable.execute()
and wraps any
MessagingException
into a MailStorageException
.
DefaultsConfigurationBackend
with the passed
ConfigurationBackend
recursively cascaded as the defaults
of its predecessor.
DefaultsConfigurationBackend
with the passed
ConfigurationBackend
recursively cascaded as the defaults
of its predecessor.
Assertions
) dynamic cast.
SqlPredicate
s with the specified
SqlPredicate.BinaryBooleanOperator
s and encapsulates
the newly created instance with parenthesis.
SqlPredicate
s together with
the specified SqlPredicate.BinaryBooleanOperator
; see
SqlPredicate.chain(com.emarsys.ecommon.db.SqlPredicate.BinaryBooleanOperator, List)
for details.
Assertion
s.ChainElement
is a part of a
QueueSchedulingStrategyChain
and represents
some kind of an execution context.ChainElement
instance.
QueueSchedulingStrategyChain
s.ChainFactory
instance capable
of creating QueueSchedulingStrategyChain
s for the
passed concrete strategy instance.
ChainFactory
instance capable
of creating QueueSchedulingStrategyChain
s for the
passed concrete schedulable instance.
ChainFactory
instance that is
already initialized with the passed elements.
DelayedLinearQueueSchedulingStrategy.baseIntLen
< DelayedLinearQueueSchedulingStrategy.delayIntLen
List
of equal
and non-equal elements.
property
with the passed name
is not null
, if so an IllegalArgumentException
will be raised.
Properties
that
drive the JMailStorage
.
ClassConfigurationDeclaration
represents a
ConfigurationDeclaration
that is specified through
public static final String
fields of a Class
.ClassConfigurationDeclaration
out of the passed "declaration object".
Class
es.Classes.Instantiator
provides a sane interface for dynamic instantiation of
classes
by implementing the builder pattern.Exception
for errors in implementations of
Object.clone()
.MailFolderFacade.current()
message to null
.
JMailStorage.lastFolders
if present and sets the current
JMailStorage.folder
to JMailStorage.lastFolders
and then set the
current one (JMailStorage.folder
) to null
.
JMailStorage.next()
has
being called on the current JMailStorage.folder
and thus
the last ones are not needed any more.
JMailStorage.closeFolder()
twice (!!) and then close the
current store by calling JMailStorage.doCloseStore()
will throw an exception if an error occurs in on of those calls.
ToStringBuilder
for Collection
s and
Array
s.Object.getClass()
).
String
s.
Configurable
provides access to its
Configuration
- no more no less.Configuration
represents a generic storage
for settings
which hold the configuration
of your system, module or some other software artifact.Configuration.Type
s of concrete
Configuration
instances.ConfigurationBackend
encapsulates a generic
backend that provides access to ISetting
s.ConfigurationDeclaration
holds metadata information
about a Configuration
like its name and ConfigurationDeclaration.DeclarationType
but it also acts as a parser for the actual declaration and
is able to retrieve defined fallback settings
or default values.String
declarations
possible.Configuration
or its backend.Text
s
as the passed one.
ConstantQueueSchedulingStrategy
will compute the next
schedule date by adding its intervalMillis to the current time which
will be retrieved by QueueScheduler.now()
.Conventions
is the place for global constants that
represent conventions, guidelines or contracts common to all
classes in eCommon (well naming can be a bitch =)Converter
on conversation-errors.Class
Creationdate: Nov 9, 2007PropertiesConfigurationBackend
instance that contains all ISetting
s from the
passed backend.
SnapshotPropertiesConfigurationBackend.snapshoot(ConfigurationBackend)
.
false
; the POP3 protocol doesn't
support creating folders.
Configuration
's backend according
to this Configuration.Type
as well as the
ConfigurationDeclaration
passed.
String
s based on MessageDigest
.Builder
for Date
instances.Class
declares
a
Configuration
, i.e.Class
declares a
Configuration
by checking if an DeclareConfiguration
Annotation
is present.
Builder
s.
ConfigurationBackend
that supports default values.DefaultsConfigurationBackend
with the passed
settings and its defaults.
DelayedLinearQueueSchedulingStrategy
represents a
two phase scheduling algorithm that reschedules queue elements
in their first phase in constant intervals and scales them
linearly with number of processings in their second.DelayedLinearQueueSchedulingStrategy
instance
with the passed parameters.
MethodNotSupportedException
because the POP3 protocol doesn't allow the INBOX to
be deleted.
Iterator
that returns elements
in a descending ordering.
null
and
connected this will try to close the store and
depending on this storage's configuration (see
JMailProperties.MAIL_STORAGE_SILENT_ERRORS
TextFingerprint
s must have the same runtime type
as well as both be an instance of the concrete class implementing
TextFingerprint.doCompare(TextFingerprint, TextFingerprint)
.
MimeText
instances.
Text
instantiation.
DynamicTextProcessorChain
will create its own
TextProcessor
instances which are specified in a
comma seperated string list in the property
DynamicTextProcessorChain.TEXT_PROCESSOR_CLASS_NAMES
passed to
DynamicTextProcessorChain.init(Properties)
.Exception
s in eCommon.RuntimeException
s in eCommon.Message
.List
of equal but not equivalent objects of type T
,
declared as the super type Object
.
Configuration
's type and name but NOT
its actual ISetting
s for comparison.
false
if the passed Object
is
not an instance of ISetting
or has a different
String
name than this instance.
AssertionError
.
AssertionError
and prints more verbose logging messages than
Assert
if not.
Map
s contain the same
key-value-pairs and throws an AssertionError
and prints more verbose logging messages than
Assert
if not.
EqualsHashCodeTest
is a template (aka base class) for
TestNG unit tests that check the validity of overridden
Object.equals(Object)
and Object.hashCode()
methods.List
of equal but not equivalent objects of type T
.
ExceptionHandler
encapsulates a very simple and naive
exception handling mechanism.ExceptionHandlerPool
represents some kind of default
implementation of the ExceptionHandling
interface
with almost no restrictions.ExceptionHandling
mechanism.ExceptionHandlingFactory
provides a more convient way
to create objects needed in a pluggable ExceptionHandling
.ExceptionHandlingProxy
creates dynamic Proxy
s
that serve two purposes:
they implement a pluggable ExceptionHandling
mechanism
and handle Exception
s on the its method calls
transparently according to their annotation configuration
.Exception
s
or Throwable
s respectively.ExceptionScenario
describes the context of a
scenario where Exception
s may occur.QueueSchedulingStrategy
associated with
this ChainElement
and passed the ChainElement.schedulable
and the passed scheduler as parameters to
QueueSchedulingStrategy.calculateNextProcessing(QueueScheduler, SchedulableQueueElement)
.
Exception
whose Class
is one of the
passed expected exception classes.
MethodNotSupportedException
because the POP3 protocol doesn't support expunging messages
without closing the folder; call the close
method
with the expunge
argument set to true
instead.
MimeMessageTextExtractor.content
of the
mail
.
ConfigurationBackend
that supports fallback mechanisms.ConfigurationBackend
that provides both a fallback
and defaults mechanism.FuzzyFingerPrint
instance.FixedQueueSchedulingStrategy
will "calculate" the
next processing date by just setting its fixed FixedQueueSchedulingStrategy.scheduleDate
.FixedQueueSchedulingStrategy
initialized
with the passed, fixed schedule date.
FrequencyDistribution.decrementLargestRoundedPercentage()
.
DateFormat
and returns the String
representation or nullSurrogate
iff the passed date is null
.
DateFormat
and returns the String
representation or null
iff the passed date is null
.
Class
with the passed name
exists then use this method which will "handle" the possibly
thrown checked ClassNotFoundException
by throwing an
unchecked AssertionError
.
FrequencyDistribution
provides a frequency distribution
featuring rounded integer percentage values.FrequencyDistribution
instance.
FrequencyDistribution
instance.
FrequencyDistributionData
represents the bare data structure
that powers FrequencyDistribution
s.FrequencyValue
encapsulates a single indexed value in
FrequencyDistributionData
.Object
array into
a new TestData
instance.
Exception
during a fuzzy comparison.Exception
s originated in fuzzy actions.FuzzyFingerPrint
represents kind of a signature of its
wrapped object of type T
which can be used for fuzzy
comparisons.FuzzyFingerPrint
for fuzzy comparisons.GenericAdapter
is supposed to be a super interface
for arbitrary interfaces that specify an adapter
to classes and have the same single type parameter T.ConfigurationDeclaration
.GenericContainer
implements a Typesafe
Heterogeneous Container.GenericSetting
represents some kind of the
reference implementation of ISetting
.Builder
associated with the passed
buildee Class
.
ISetting
in DefaultsConfigurationBackend.settings
and if not present the value in DefaultsConfigurationBackend.defaults
will
be searched.
ISetting
retrieved from this ConfigurationBackend
will have its SettingMode
set to ModeSettingConfigurationBackend.mode
.
ISetting
with the passed name.
ToStringBuilder
instance that
fits most for the passed Object
.
value
and
converts it to a boolean value.
QueueSchedulingStrategyChain
s
which could be altered through the ChainFactory
returned.
Configuration
associated with this instance.
ConstantQueueSchedulingStrategy
instance that will increment the number of the
context param DelayedLinearQueueSchedulingStrategy.CONST_PHASE_ITERATIONS_KEY
on every
call of
DelayedLinearQueueSchedulingStrategy.calculateNextProcessing(QueueScheduler, SchedulableQueueElement)
.
QueueSchedulingContext
for the
passed SchedulableQueueElement
.
Calendar
object if the date
is within the passed interval, otherwise null
.
value
assuming the default date format
and converts it to a Date
instance.
value
using the passed date format
and converts it to a Date
instance.
DeclarationType
of the passed
Field
.
ToStringBuilder
instance that
already contains the passed object's simple class
name as a first information.
ConfigurationBackend
that holds all
default values defined in this ConfigurationDeclaration
,
if no such default values are defined an emtpy
ConfigurationBackend
will be returned.
value
and
converts it to a double value.
Map
must not be the ExceptionHandling
's
interal, modifyable representation in order to protect from
violating invariants.
TextFactory
that produces equally configured
Text
s like this instance.
ChainFactory
for the concrete
schedulable instance (which is only used to bind the
type parameter and ensure/enable type safety) passed.
ChainFactory
for the concrete
strategy instance (which is only used to bind the
type parameter and ensure/enable type safety) passed.
ISetting
s defined by this
ConfigurationDeclaration
, if no such fallbacks
are present an emtpy Map
will be returned.
ClassConfigurationDeclaration.declarationInstance
's
Field
with the passed fieldName.
MimePart
of the specified MIME-type
recursively from the passed (multi)part(-message).
MimePart
of the specified MIME-types
recursively from the passed (multi)part(-message).
MessagingException
because no POP3 folders
can contain subfolders.
Folder
encapsulated by this
MailFolderFacade
.
Prefix
for prefix classes that should be
ignored for creating the finger print.
Time
instance by delegating
to the Builder
registered with Time
in Builders
.
Method
is passed a HandleExceptions
annotation on it will be searched for, else if it's an
instance of Class
this will be done too and if
not successfull than also delegates specified through
HandleExceptionsFor
will be searched.
JMailFactory
instances according to the
Properties
passed.
JMailProperties
and sets
the
properties it can get from the passed URLName
.
Session
s that might
use ecommon mock Provider
s instead of the ones
configured in javamail(.default).providers!
JMailStorage
instances.
Configuration
instances.
Text
instances according to this factory's
configuration and applies its associated TextProcessor
,
if set, to the newly created instance.
MockTime
.
Configuration
s that uses
the passed "declaration object" to get its
ConfigurationDeclaration
.
Configuration
s that uses
the passed "declaration object" to get its
ConfigurationDeclaration
but overrides the
declaration objects Configuration.Type
with the passed one.
value
and
converts it to an int.
InvocationHandler
that will forward
requests to this instance,
see #wrap(ConfigurationBackend)
.
Predicate
that evaluates to true
if the passed SchedulableQueueElement
's (the
one associated with the passed ChainElement
) queueing date +
DelayedLinearQueueSchedulingStrategy.delayIntLen
is before the current time.
JMailStorage.close()
)
LinearQueueSchedulingStrategy
that will
start to scale the scheduling interval after the constant
scheduling phase.
value
which is assumed to be a comma seperated list and
converts it to a List
instance.
value
and
converts it to a long value.
Predicate
instance for ChainElement
s
that returns true
if its result (see
ChainElement.getResult()
) is not null the passed max
scheduled date is after it, false
otherwise.
QueueSchedulingStrategyChain
out of the
passed strategy instance that appends another ChainElement
which checks if the passed strategy calculated a next processing
date that exceeds the
SchedulableQueueElement.getMaxScheduleDate()
and if so
replaces it with said maximum value, but if the max.
QueueSchedulingStrategyChain
out of the
passed strategy instance that appends another ChainElement
which checks if the passed strategy calculated a next processing
date that exceeds the passed maxDate and if so
replaces it with said maximum value, but if the max.
Message
with the passed index in
this folder.
SchedulableQueueElement
.
JMailProperties
and sets
the
properties it can get from the passed URLName
.
Session
s that use ecommon mock
Provider
s instead of the ones configured in
javamail(.default).providers in any case!
Session
s that use ecommon mock
Provider
s instead of the ones configured in
javamail(.default).providers in any case!
SettingMode
associated with the
ISetting
.
Configuration
associated with
this ConfigurationDeclaration
.
null
pointer save delegate to
Class.getName()
.
null
pointer save delegate to
Class.getName()
, intended for arrays.
null
.
Flags
object because
the POP3 protocol doesn't support any permanent flags.
Prefix
s defining the prefix classes of this
PrefixTable
.
Runnable
that performs the same
Runnable.run()
operation as the passed instance, but
will catch any arising RuntimeException
s and print
an error message to a Log
for the passed caller
Class
instance.
HandleExceptions
s annotations are inherited so
so we don't query method.getDeclaringClass() but pass the actual
object being invoked.
ExceptionScenario
s
that differ only in their name.
QueueScheduler
.
SchedulableQueueElementProxy.scheduledCountOffset
to
#schedulable#getScheduledCount()
(or subtract if the
prior is negative), but the value won't be < 0.
Date
that is associated with the passed
Message
.
Date
that is associated with the passed
Message
and fits into the passed plausibility
TimeInterval
.
List
of declared ISetting
names.
DefaultsConfigurationBackend.settings
included the DefaultsConfigurationBackend.defaults
for
missing ones in the wrapped backend.
#primaries
as well as all
FallbackConfigurationBackend.fallbacks
for which there's no primary one.
ISetting
retrieved from this ConfigurationBackend
will have its SettingMode
set to ModeSettingConfigurationBackend.mode
.
ISetting
s from this backend.
null
pointer save delegate to
Class.getSimpleName()
.
null
pointer save delegate to
Class.getSimpleName()
, intended for arrays.
WorkerThreadProducer.getWorkerThread(Runnable)
for
timing-tasks
Throwable
to
a String
.
TextFactory
's configuration.
MimePart
that holds the
textual content of the mail.
MimeMessage
using a MimeMessageTextExtractor
.
Text.getTokenizer()
the
return one will be out of Date.
TextTokenizer.getTokens()
does not cache its results.
ConfigurationDeclaration.DeclarationType
of the Configuration
associated
with this ConfigurationDeclaration
.
Class
as well as all super classes
and interfaces for an Annotation
of the passed
annotation Class
and return the first appearance.
String
value of the
ISetting
.
Exception
.
Exception
s of type E and might rethrow and
Exception
s of type T.
HandleExceptions
represents a method or type level
annotation which describes an ExceptionScenario
associated with the annotated method or type.String
representation of the passed String
s
hash value.
String
representation of the passed String
s
hash value.
ISetting
that solely
refers to its unique name.
String
value of the hashed bytes passed.
false
; the POP3 protocol provides
no way to determine when a new message arrives.
Text
s, i.e.HTMLUtil
.ConfigurationBackend
s.FuzzyFingerPrint
.
TableBasedFingerprint.table
if its
null
.
TextProcessor
instance with
the passed Properties
.
TextProcessorChain.init(Properties)
call to all
sub-processors.
MockTime
for system wide (classloader)
usage through ecommon's Builders
.
MockTime
.
Classes.Instantiator
in order create a new instance of
the passed type and in case of an error throw an exception of
the passed exceptionType.
InternalExceptionHandlerPool
represents an
ExceptionHandlerPool
that is associated with a single instance's
class.InterruptedException
.ExceptionHandlingProxy.target
and ExceptionHandlingProxy.handling
and delegates the actual invocation to
ExceptionHandlingProxy.doInvoke(Object, Method, Object[])
.
ISetting
represents the abstract notion of a
single setting or property, that means more or less
a name-value pair of String
s, in the
Configuration
API.Session
s build by JMailSessionFactory
should use the eCommon mock Provider
s or not.
Builders
are in testing mode
or not, i.e.
Iterator
that respects the percentages'
ordering as it was in the initial input array.
Iterator
s in TestNG unit
test cases.Iterator
s and Enumeration
s.Message
s.JMailFactory
with a Session
driven by the passed Properties
.
JMailFactory
with a default
Session
driven by the System
Properties
.
JMailFactory
instance
associated with the passed JavaMail Session
.
JMailFolder
represents some kind of default implementation
of MailFolderFacade
using the JavaMail(tm) API.Properties
for the use in a JavaMail(tm) environment.Session
instances with support for
ecommon mock Provider
s.JMailStorage
represents some kind of default
implementation of MailStorageFacade
using JavaMail(tm)
functionality.JMailStorage
with the passed properties.
LinearQueueSchedulingStrategy
will compute the
next processing date by linearly scaling its
LinearQueueSchedulingStrategy.intervalMillis
with the number of already happend
reschedulings thus resulting in a linear increase of
the intervals.LinearQueueSchedulingStrategy
instance with
the passed LinearQueueSchedulingStrategy.intervalMillis
and no LinearQueueSchedulingStrategy.delayCount
.
LinearQueueSchedulingStrategy
instance
with the passed LinearQueueSchedulingStrategy.intervalMillis
and LinearQueueSchedulingStrategy.delayCount
.
Text
's content and
replaces them with spaces.MessagingException
because no POP3 folders
can contain subfolders.
PropertyHook
will be unregistered by the system.
Exception
.
Long
Creationdate: Jul 27, 2007true
the JMailStorage
will
throw MailStorageException
s only if a further processing
is not possible - instead it will log the error and proceed with the
processing of the mail storage.
MailFolderFacade
.MailFolderFacade
provides a simple and easy to
use API to access all Message
s of a JavaMail(tm)
Folder
.text
- MimeBodyPart
.
MailStorageFacade
.MailStorageFacade
provides easy and transparent access
to the Message
s in a mail storage.File
.
MimeMessage
s
in the file system.MimeMessageTextExtractor
for
testing and debugging purposes.MessageTextUtil
provides several utilities to handle
the textual content of Message
s.Message
s.MimeMessage
.Runnable
that wraps a text extraction
operation and handles expected Exception
s.Text
with associated mime type.TextFactory
for MimeText
s.MimeTextFactory
by calling the super
constructor default TextFactory.TextFactory()
and
settign the MimeTextFactory.mimeType
to null
, i.e.
Folder
backed by a MockMailbox
.TextProcessor
that does nothing.QueueScheduler
for unit
testing purposes.SchedulableQueueElement
for
unit testing purposes.QueueSchedulingStrategy
for
T
s.Store
backed by an MockMailbox
.MockTime
is a singleton to mock the Time
in (unit) test cases.Builder
for Time
instances that
returns or "creates" only the MockTime
instance
on every call.Transport
to deliver mails to MockMailbox
;
inspired by org.jvnet.mock_javamail.MockTransport.ConfigurationBackend
s that
is associated with a specific SettingMode
.ConfigurationBackend
that has
an associated name.SqlPredicate
instance that represents the
negation of this instance by prefixing it with "not".
List
of pairwise distinct objects of type T
,
declared as the super type Object
.
List
of pairwise distinct objects of type T
.
mocktime instance
on every call.
Time
instance.
Class
specified by
the passed classname and casts it to the passed
(super) type.
Class
specified by
the passed classname using the specified constructor
and casts it to the passed (super) type.
Calendar
with the schedulers current time
in its TimeZone
representing the current time.
ConfigurationBackend
that a priori contains no
ISetting
and does not support insertions.public static final String
constants
in ClassConfigurationDeclaration.declarationClass
whoose names are not
excluded through DeclareConfiguration.excludedNames()
and end with DeclareConfiguration.defaultSuffix()
.
MockFolder
that mimics some behavior of
POP3Folder
(the default POP3 provider in javamail).Prefix
represents a class of String
s that
start with a Prefix.regex
.TextFingerprint
on words matching to a list of
prefixes or distinct prefix classes respectively and the power of
respective class.Text
.
Text
instance.
Text
in the order
the concrete TextProcessor
s where added.
TextProcessor
, see TextFactory.getProcessor()
,
to the passed Text
.
Text
using the passed
TextProcessor
and the replaces the current Text.content
with the returned text's one.
System property
key that indicates
whether the Builders
are in testing mode, i.e.
ConfigurationBackend
with a Properties
object
as configuration store.PropertiesConfigurationBackend
that
uses the passed properties as its storage, see PropertiesConfigurationBackend.props
.
PropertiesConfigurationBackend
.
String
key of
Properties
or other preferences defined in the
eCommon library.
PropertyHook
needs to have an empty constructor
for reflective initialisation.PropertyHook
's.null
value is returned the
Properties returned with PropertyHook.loadProperties()
not starting with 'prefix' are ignored.
ISetting
's
names and values.
QueryBuilder
is a helper class for construction sql queries.QueueScheduler
manages the time of the processing of
SchedulableQueueElement
s in a queue using a
QueueSchedulingStrategy
to calculate the
date when a queue element should be processed.QueueSchedulingContext
- nome est omen -
provides a way to store and retrieve arbitrary parameters
in the context of a specifc queue scheduling process.QueueSchedulingStrategy
encapsulates a concrete
policy on when to process a SchedulableQueueElement
.QueueSchedulingStrategyChain
implements a chain of
responsibility for queue scheduling strategies whilest being
a composited strategy itself and can be used to create
arbitrary, dynamic combinations of existing scheduling
algorithms.QueueSchedulingStrategyChain
consisting
of the passed ChainElement
s.
String
representation of the raw,
data of the mail without respecting the content-transfer-encoding.
File
and creates a
MimeMessage
out of it.
MimeMessage
.
MethodNotSupportedException
because the POP3 protocol doesn't support multiple folders.
Builders
to its apriori state after the
class has been loaded.
TransactionFacade.execute()
and
logs the Throwable
as error.
SchedulableQueueElement
represents an object that will
be processed in an arbitrary time based queueing mechanism.SchedulableQueueElement
s that allows
for some manipulations.Builder
for the passed Class
.
ImmutableObjectException
if called.
null
in this configuration backend, if a setting with the given
name is already present it will be overridden.
URLName
if present.
ISetting
's mode.
ISetting
.
Message
.
Address
es to this
Message
.
Field
of
ClassConfigurationDeclaration.declarationClass
that's referenced by the
passed fieldName as a setting name.
ISetting
is
used in.MalformedURLException
if
the passed string is not a valid url
FrequencyValue.value
.
ISetting
.
Connection
and reports
SQLException
s only as log warnings.
Statement
and reports
SQLException
s only as log warnings.
ResultSet
and reports
SQLException
s only as log warnings.
Connection
, Statement
and ResultSet
and reports
SQLException
s only as log warnings.
Closes
the passed Closeable
and prints a warning (containing a reference to the calling
method) to the logs if an IOException
arises.
Folder.getMessageCount()
, may -
depending on the underlying folder implementation and
TODO specify contract
FrequencyValue
elements that make
up this instance.
SmtpBomber
is a testing utility for SMTP components which
is able to create a high amount of test mails and sends them
as concurrent as possible to an SMTP server.SmtpBomber
instance.
PropertiesConfigurationBackend
instance that contains all ISetting
s from the
passed backend.
PropertiesConfigurationBackend
.Closure
on the splitted String
s.
SqlPredicate
s.InputStream
line by line, appends a
LF and returns the read lines as a String
.
MailFolderFacade
instance, because if
Folder.expunge()
fails a couple of times the concrete
implementation might give up and further on not support
immediate expunging.
ExceptionHandler
that only rethrows
the same Exception
types it handles.Time
that delegates to
System.currentTimeMillis()
.TextFingerprint
s that
are based on creating a table with "arbitrary text elements",
for instance words, as keys and their frequency in the Text
as values.NullPointerException
s on fail-initializations.
T#equals(Object)
holds up against a new
Object
(should always be false
).
T#equals(Object)
holds up against
null
.
T#equals(Object)
holds up against
objects that should not compare equal.
T#equals(Object)
is consistent
accross at least #this.getNbrOfIterations()
invocations.
Object.equals(Object)
is reflexive.
T#equals(Object)
is
symmetric and transitive.
hashCode
contract.
hashCode
accross
serveral invacations.
Text
is a wrapper around a String
or an abstract
notion of it respectively.String
representation of the
passed content of a Part
.
TextExtractor
is able to extract the textual content of
is associated text holder of type T.TextFactory
can be used to create equally configured
Text
instances, where configuration in this case means
the kind of TextTokenizer
, TextFingerprint
,
etc.TextFactory
that whoose config is set to
the default values (see Text.DEF_FINGER_PRINT_CLASS
,
Text.DEF_TOKENIZER_CLASS
), has no TextProcessor
installed and is not frozen, see TextFactory.isConfigFrozen()
.
TextFactory
that is equally configured like
the passed instance with the sole exception that its config is
not TextFactory.frozen
.
FuzzyFingerPrint
s.TextProcessor
encapsulates an algorithm to process (alter)
Text
instances.TextProcessor
s.TextTokenizer
is able to split a Text
into
a List
of String
tokens.Text
s.threads
.Time
- nomen est omen - defines the current time
by providing it in milliseconds.Builder
for Time
instances.Calendar
objects.MockTime
.TimeRange
represents a symetrical TimeInterval
around a given date (see TimeRange.setRangeMean(Calendar)
.Dates.format(Date, DateFormat)
, the passed
Date
with Dates.FORMAT_TIMESTAMP
and returns the
String
representation or null
iff the passed date is null
.
Dates.format(Date, DateFormat)
, the passed
Calendar
with Dates.FORMAT_TIMESTAMP
and returns the
String
representation or null
iff the passed calendar is null
.
TestData.params
to an Object
array.
ByteArrayOutputStream
and
returns the written bytes.
Date
instance into a Calendar
.
Calendar
with its time set to the passed
milliseconds.
Message
.
String
representation of the passed
Message
s.
String
.
Object.toString()
implementations.ToStringBuilder
instance which uses ToStringBuilder.DELIM
as the
default delimiter for the toString attributes.
ToStringBuilder
instance which uses the passed character as the
default delimiter for the toString attributes.
ExceptionHandler
s from the passed handling
and overwrite already existing ones; already registered distinct
handlers will remain registered.
Builders
in order to uninstall
the MockTime
.
String
representation of the
passed content of a Part
.
ExceptionHandler
associated with the
passed scenario if present.
UrlBuilder
with the UrlBuilder.DEFAULT_ENCODING
UrlBuilder
with the passed encoding.
Calendar
into Date
instance.
Date
instance with its time set to
the passed milliseconds.
Text
instances by their words and their frequency.WorkerThreadProducer
-> overwrite the method WorkerThreadMBean.getWorkerThread(Runnable)
WorkerThreadProducer
-> overwrite the method WorkerThreadMBean.getWorkerThread(Runnable)
EmaService
in order to fullfill
the naming convetions.PropertiesConfigurationBackend
that uses
the passed Properties
to store its ISetting
's
names and values.
PropertiesConfigurationBackend
that uses
the passed Properties
to store its ISetting
's
names and values.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |