Class AbstractClaimProcessor
java.lang.Object
org.kingdoms.abstraction.processor.AbstractKingdomsProcess
org.kingdoms.abstraction.processor.AbstractKingdomsProcessor
org.kingdoms.managers.land.claiming.AbstractClaimProcessor
- All Implemented Interfaces:
Cloneable,org.kingdoms.abstraction.processor.KingdomsProcess,org.kingdoms.abstraction.processor.KingdomsProcessor,org.kingdoms.locale.provider.MessageContextProvider
- Direct Known Subclasses:
ClaimProcessor,UnclaimProcessor
public abstract class AbstractClaimProcessor
extends org.kingdoms.abstraction.processor.AbstractKingdomsProcessor
implements Cloneable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.kingdoms.abstraction.processor.KingdomsProcess
org.kingdoms.abstraction.processor.KingdomsProcess.Intent, org.kingdoms.abstraction.processor.KingdomsProcess.Message, org.kingdoms.abstraction.processor.KingdomsProcess.MessageType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected SimpleChunkLocationprotected booleanprotected Kingdomprotected KingdomPlayerprotected doubleprotected long -
Constructor Summary
ConstructorsConstructorDescriptionAbstractClaimProcessor(SimpleChunkLocation chunk, KingdomPlayer kp, Kingdom kingdom) -
Method Summary
Modifier and TypeMethodDescriptionvoidasAuto()abstract Messengerabstract AbstractClaimProcessorclone()booleangetChunk()getLand()doublegetMoney()long@Nullable AbstractClaimProcessor.ChunkHandlingprotected Messengerbooleanabstract AbstractClaimProcessorprocess()abstract AbstractClaimProcessorvoidvoidsetChunk(SimpleChunkLocation chunk) specialHandling(Map<SimpleChunkLocation, AbstractClaimProcessor.ChunkHandling> specialChunks) Methods inherited from class org.kingdoms.abstraction.processor.AbstractKingdomsProcess
getFinalizer, getIntent, getMessageContext, getMessages, getMetadata, isSuccessful, setIntent, setSuccessfulMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kingdoms.abstraction.processor.KingdomsProcess
addFinalizer, fail, getCombinedMessage, getFinalizer, getIntent, getMessages, getMetadata, inherit, isSuccessful, message, sendMessages, setIntent, setSuccessful, varMethods inherited from interface org.kingdoms.abstraction.processor.KingdomsProcessor
processIssueMethods inherited from interface org.kingdoms.locale.provider.MessageContextProvider
getMessageContext
-
Field Details
-
specialChunks
-
chunk
-
ignoreAdmin
protected boolean ignoreAdmin -
kp
-
kingdom
-
auto
protected boolean auto -
rp
protected long rp -
money
protected double money
-
-
Constructor Details
-
AbstractClaimProcessor
-
-
Method Details
-
clone
-
getSpecialHandling
-
isAdminMode
public boolean isAdminMode() -
specialHandling
public AbstractClaimProcessor specialHandling(Map<SimpleChunkLocation, AbstractClaimProcessor.ChunkHandling> specialChunks) -
getSpecialChunks
-
asAuto
public void asAuto() -
reprocess
- Specified by:
reprocessin interfaceorg.kingdoms.abstraction.processor.KingdomsProcessor
-
initialChecks
-
process
- Specified by:
processin interfaceorg.kingdoms.abstraction.processor.KingdomsProcessor
-
checkWorldAndPermission
-
finalizeProcess
public boolean finalizeProcess()- Specified by:
finalizeProcessin interfaceorg.kingdoms.abstraction.processor.KingdomsProcess
-
getResourcePoints
public long getResourcePoints() -
getMoney
public double getMoney() -
getKingdom
-
getKingdomPlayer
-
getChunk
-
getLand
-
setChunk
-
setChunk
-