A quick answer but this is what really determines the quality of a workout:
Anaerobic alactic: work-rest ratio 1:10
Example. For each 10 seconds of sprints rest 2 minutes after
Anaerobic lactic: work-rest interval 1:2
Example.. weightlifting for 30 seconds and resting a minute. You more commonly see 60 seconds accompanied with 2 minutes rest.
Aerobic. Work-rest interval 2:1, 5:1, 10:1(really its working more than you rest)
Example.. jogging for 10 minutes and resting 5 before continuing.
Fun fact: you use aerobic energy for all 3 of the above but use it more in this work rest ratio.
The trick to these is intensity. Anaerobic is typically high while aerobic is typically low. Think about sprinting for as long as you can. After 20 seconds you're body will naturally run as it depletes it's first source of fuel. Then for 2 minutes it'll use lactic. After 5 it'll be aerobic because after so long you can't keep the intensity. Eventually you're other energy systems will replenish and let you Sprint again, etc..
The point being that during a high intensity anaerobic exercise.. Unless you're doing HIIT or tabata, you really aren't working out aerobic to its full capacity because you're putting a lot of power into an anaerobic exercise. If you are not resting and doing a 2:1 or greater work rest ratio.. then you're exercise, whether it's you jumping rope or running, is now purely aerobic because without resting you'll naturally lose power, just like the sprinting example above. Jump roping for instance is considered anaerobic but if you can do 30 minutes of jump roping without resting then you're doing an aerobic exercise, just a really really good aerobic exercise.
In your example it doesn't matter how long you exercise, what matters is how long you rest compared to the work. That's why HIIT is tricky because you get benefits of both even though you're doing a 2:1 ratio but it's because you're resting in intervals rather than doing sets. So HIIT can build both anaerobic and aerobic because it becomes a form of metabolic conditioning. You can also gain the same effects doing circuit training with low rep, heavy weight weightlifting which reduces your rest. You lose the efficiency of the anaerobic to some degree, for example circuit training with weights will cause you to use a lot less weight in your exercises but you can build both systems. With HIIT.. you lose building up your first two energy systems that use ATP and lactic, you're still training your heart and doing anaerobic exercise but you miss out on focusing on just the two energy systems . And in terms of weightlifting, you lose gains trying to combine the two