Package edu.pdx.cs410J.grader
Class SubmitAndroidProject
java.lang.Object
edu.pdx.cs410J.grader.EmailSender
edu.pdx.cs410J.grader.Submit
edu.pdx.cs410J.grader.SubmitAndroidProject
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.pdx.cs410J.grader.Submit
Submit.CurrentTimeProvider, Submit.ManifestAttributes
Nested classes/interfaces inherited from class edu.pdx.cs410J.grader.EmailSender
EmailSender.NewEmail
-
Field Summary
Fields inherited from class edu.pdx.cs410J.grader.EmailSender
DAVE_EMAIL, serverName, TA_EMAIL
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canBeSubmitted
(File file) protected String
getZipEntryNameFor
(File file) Returns the name of aFile
relative to the source directory.static void
protected void
warnIfMainProjectClassIsNotSubmitted
(Set<File> sourceFiles) protected void
warnIfTestClassesAreNotSubmitted
(Set<File> sourceFiles) Methods inherited from class edu.pdx.cs410J.grader.Submit
addFile, canFileBeSubmitted, fileExists, getZipEntryNameFor, getZipFileTitle, isInMavenProjectDirectory, isNineDigitStudentId, looksLikeAnEmailAddress, parseCommandLineAndSubmit, setDebug, setEmailServerHostName, setEstimatedHours, setProjectName, setSendReceipt, setStudent, submit, submittedTestClasses, usage, validateProjectName
Methods inherited from class edu.pdx.cs410J.grader.EmailSender
newEmailSession, newEmailTo, newInternetAddress, setEmailServerPort
-
Method Details
-
canBeSubmitted
- Overrides:
canBeSubmitted
in classSubmit
-
warnIfMainProjectClassIsNotSubmitted
- Overrides:
warnIfMainProjectClassIsNotSubmitted
in classSubmit
-
warnIfTestClassesAreNotSubmitted
- Overrides:
warnIfTestClassesAreNotSubmitted
in classSubmit
-
getZipEntryNameFor
Description copied from class:Submit
Returns the name of aFile
relative to the source directory.- Overrides:
getZipEntryNameFor
in classSubmit
-
main
- Throws:
IOException
jakarta.mail.MessagingException
-